Re: can't retrieve more than 1 record at the time

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

 



On Wed, 09 Dec 2009 11:39:55 -0800
Catherine Madsen <cmadsen@xxxxxxxxxxxx> wrote:
It looks like you have to take out this line:
> $stmt = NULL; /* release the connection */
You are destroying the variable instead of just deleting the data, so the while statement terminates after the first record.
-- 
Simcha Younger <simcha@xxxxxxxxxxxx>

-- 
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