Re: php resultset restart??
| From: | Chris Boget | Date: | Wed, 11 May 2005 14:17:33 +0000 |
| Subject: | Re: php resultset restart?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214937@lists.php.net to get a copy of this message | ||
> i've checked the PHP manual but can't find a function for this, perhaps
I'm
> missing something.
> I get a resultset and loop through it but this is in a loop so it only
executes
> the first time. is this because the resultset is at the end? is there a
way to
> tell PHP to start at the beginning of the resultset again for each loop?
Or is
> it best just to copy the resultset to an array and just loop through the
array
> multilpe times?
Look up *_data_seek().
thnx,
Chris