xwishmasterx Posted May 5, 2011 Share Posted May 5, 2011 I am doing a simple query where more than one row could be returned. I cannot see a way for the rest of my code to work using the "while $row= ...". Is there another way to fetch more than one result? Link to comment https://forums.phpfreaks.com/topic/235604-a-way-to-get-multiple-rows-without-using-while/ Share on other sites More sharing options...
Pikachu2000 Posted May 5, 2011 Share Posted May 5, 2011 You can use a while loop and just store the data in a new array so you can access it later in the script, or you can try using mysql_data_seek. Link to comment https://forums.phpfreaks.com/topic/235604-a-way-to-get-multiple-rows-without-using-while/#findComment-1210918 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.