mkosmosports Posted October 20, 2006 Share Posted October 20, 2006 How come I am unable to write the following code:while ( $row = mysql_fetch_array($result7) ) || ( $row = mysql_fetch_array($result71) )?Thanks. Link to comment https://forums.phpfreaks.com/topic/24606-using-and-or-or-while-running-loops/ Share on other sites More sharing options...
Barand Posted October 20, 2006 Share Posted October 20, 2006 Because you need extra ()'swhile ( [color=red]([/color]$row = mysql_fetch_array($result7) ) || ( $row = mysql_fetch_array($result71)[color=red])[/color] ) Link to comment https://forums.phpfreaks.com/topic/24606-using-and-or-or-while-running-loops/#findComment-112103 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.