centerwork Posted November 13, 2007 Share Posted November 13, 2007 How would I go about reseting this while() statement back to the first row of the mysql_fetch_array()? Code snip it: while($rows=mysql_fetch_array($results)){ $variable= $rows['variable']; } Is this possible? Link to comment https://forums.phpfreaks.com/topic/77211-solved-how-do-i-reset-a-while-back-to-first-row-of-the-mysql_fetch_array/ Share on other sites More sharing options...
pocobueno1388 Posted November 13, 2007 Share Posted November 13, 2007 http://us.php.net/mysql_data_seek Link to comment https://forums.phpfreaks.com/topic/77211-solved-how-do-i-reset-a-while-back-to-first-row-of-the-mysql_fetch_array/#findComment-390910 Share on other sites More sharing options...
centerwork Posted November 13, 2007 Author Share Posted November 13, 2007 Thank you, That will work great. Link to comment https://forums.phpfreaks.com/topic/77211-solved-how-do-i-reset-a-while-back-to-first-row-of-the-mysql_fetch_array/#findComment-390921 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.