Re: Error when I try to display 20 records per page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Scott McWhite wrote:

$row = mysql_fetch_array($result); //get a row from our result set

a bit farther down...

while($row = mysql_fetch_array($result)){


Dude !
You're like pulling the same results from the same query/resultset twice (..and stuff). You can't do that, man. You have to redo the query.


(Sorry, I just watched Hurley from "Lost" :-) )

Phil

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux