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? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.