ohdang888 Posted March 5, 2008 Share Posted March 5, 2008 when you have an if statement, and the conditions are false, then will it still read all the data in the if{ info } for example $x = 1; if($x == 2){ will it read this? or just look for the other bracket? } Link to comment https://forums.phpfreaks.com/topic/94407-general-question-about-if-statements/ Share on other sites More sharing options...
vbnullchar Posted March 5, 2008 Share Posted March 5, 2008 when you have an if statement, and the conditions are false, then will it still read all the data in the if{ info } for example $x = 1; if($x == 2){ will it read this? or just look for the other bracket? } it will not go inside that IF condition bracket because it does not satisfy the condition. Link to comment https://forums.phpfreaks.com/topic/94407-general-question-about-if-statements/#findComment-483554 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.