fatkatie Posted February 17, 2018 Share Posted February 17, 2018 Why can't the comma operator be used? I get the warning I get in the first construct but don't understand the complete fail on the second. Thanks while ($pending_row || @( ($row_l = $sth_l->fetch(PDO::FETCH_OBJ)) | ($row_u = $sth_u->fetch(PDO::FETCH_OBJ) ))){ while ($pending_row || @( ($row_l = $sth_l->fetch(PDO::FETCH_OBJ)) , ($row_u = $sth_u->fetch(PDO::FETCH_OBJ) ))){ Link to comment Share on other sites More sharing options...
requinix Posted February 17, 2018 Share Posted February 17, 2018 PHP does not have a comma operator. Link to comment Share on other sites More sharing options...
fatkatie Posted February 17, 2018 Author Share Posted February 17, 2018 Well then ... Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.