gregsmith Posted December 5, 2006 Share Posted December 5, 2006 Can I do the following to traverse 2 mysql result arrays simultaneously?[code]while ($row1 = mysql_fetch_array($result1) && $row2 = mysql_fetch_array($result2)) { }[/code]thanks. Link to comment https://forums.phpfreaks.com/topic/29507-just-a-quick-one-will-this-work-with-2-mysql_fetch_array/ Share on other sites More sharing options...
trq Posted December 5, 2006 Share Posted December 5, 2006 Yes. Link to comment https://forums.phpfreaks.com/topic/29507-just-a-quick-one-will-this-work-with-2-mysql_fetch_array/#findComment-135405 Share on other sites More sharing options...
gregsmith Posted December 5, 2006 Author Share Posted December 5, 2006 Superb, that's what I was after. Thanks for the reply. Link to comment https://forums.phpfreaks.com/topic/29507-just-a-quick-one-will-this-work-with-2-mysql_fetch_array/#findComment-135409 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.