Re: can't retrieve more than 1 record at the time
| From: | Simcha Younger | Date: | Wed, 09 Dec 2009 22:18:55 +0000 |
| Subject: | Re: can't retrieve more than 1 record at the time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300350@lists.php.net to get a copy of this message | ||
On Wed, 09 Dec 2009 11:39:55 -0800
Catherine Madsen <cmadsen@berkeley.edu> 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@syounger.com>