to do while(fetch_array) several times, how to reset?
| From: | Chris Hayes | Date: | Mon, 04 Dec 2000 22:31:10 +0000 |
| Subject: | to do while(fetch_array) several times, how to reset? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-28652@lists.php.net to get a copy of this message | ||
Dear group,
Please remind me how I can go through one result more than 1 time!
$akties=mysql_query (SELECT * FROM ...)
[for every category:]
while ($aktie=mysql_fetch_array($akties)):
[echo aktie details]
endwhile;
I suppose I must have a reset() like function for every category?
[somehow i am not looking for the right word in the manual and
the emails from this group]
thanks,
Chris
--------------------------------------------------------------------
-- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands --
--------------------------------------------------------------------