calmchess Posted December 8, 2009 Share Posted December 8, 2009 I want to take 2 queries from mysql database and loop through the values using a single while statement so i can process the data as its looped. What would be the best way? Quote Link to comment https://forums.phpfreaks.com/topic/184468-1-while-statement-multiple-queries/ Share on other sites More sharing options...
premiso Posted December 8, 2009 Share Posted December 8, 2009 Do a while within a while...but why not just pull the data out of the database properly using Joins in MySQL? Quote Link to comment https://forums.phpfreaks.com/topic/184468-1-while-statement-multiple-queries/#findComment-973796 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.