Is there a way to reset the offset in a mysql result without running the query again? I'd like to be able to reset it to the beginning after running mysql_fetch_row, but haven't been able to figure out how. I tried reset($whatever) but it didn't work...then again I figured it wouldn't.
Thanks in advance, this is driving me crazy, and it's not even because I need to do it, but because I want to.
Reset mysql_result offet
Moderator: General Moderators
- SystemWisdom
- Forum Commoner
- Posts: 69
- Joined: Sat Mar 26, 2005 5:54 pm
- Location: A Canadian South of the 49th Parallel
Example:
Reference:
mysql_data_seek()
I hope that helps!
Code: Select all
mysql_data_seek( $result_set, 0 );mysql_data_seek()
I hope that helps!