Jump to content

[SOLVED] Help With Interpreting Alternate Syntax for If/Else Statement


limitphp

Recommended Posts

can you have only two parts:

 

condition ? if true

 

and not have the : if not true;

 

You can try, not sure if that is kosher, but give it a try, you can't really hurt anything by trying.

 

Edit: Nope you cannot, syntax error.

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.