Jump to content

general question about IF statements


ohdang888

Recommended Posts

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.