Is there any way to reset the mysql results back to the beginning so I can run through the array again with mysql_fetch_array? I can't seem to find a mysql reset anything.
Thanks in advance.
mysql_reset_array()?
Moderator: General Moderators
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
re-querying the DB is a very inefficient way to do this. that is why the good people of PHP made the mysql_data_seek() function: http://www.php.net/manual/en/function.m ... a-seek.php