christofurr Posted June 18, 2007 Share Posted June 18, 2007 Can if statements evaluate more than one condition? <?php if ($blah1 < $blah2 && $blah2 < $blah3 && $blah3 == $blah1) {echo "Oh, hell naww!";} ?> Link to comment https://forums.phpfreaks.com/topic/56005-quick-question/ Share on other sites More sharing options...
pocobueno1388 Posted June 18, 2007 Share Posted June 18, 2007 Yes it can your code looks valid to me.... Are you having issues with it? Link to comment https://forums.phpfreaks.com/topic/56005-quick-question/#findComment-276601 Share on other sites More sharing options...
christofurr Posted June 18, 2007 Author Share Posted June 18, 2007 No, actually that was just an example. Wanted to make sure you knew what I meant. Thanks!! Link to comment https://forums.phpfreaks.com/topic/56005-quick-question/#findComment-276613 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.