Jump to content

[SOLVED] A quick one with conditionals


laPistola

Recommended Posts

how do you write or, for exampe

 

if (condition1) && (condition2)

 

is do if condition1 and condition2 is true but how would you write for exmaple

 

 if (condition1) or (condition2)

so it will follow the if, if condition 1 or 2 is true? i always do this buy else if's but if there is a better way then i would profer i.

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/134204-solved-a-quick-one-with-conditionals/
Share on other sites

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.