| 
O.P.  AND and OR
 Hi, again! hahaha, I want to make something like this in PHP 
 
if ( $a=yes OR ($b<=10 AND $c<=10) { etc. 
 
Were, <= means "smaller or equal to"  
and one condition is $a=yes 
and the other conditions is $b<=10 AND $c<=10 
 
I think this could be like... 
 
if ($a=="yes" || ($b<="10" && $c<=10)) { 
 
My question is can i group conditions using ()? Is <= the way you write "smaller or equal to"? 
 
Thank you in advance for your help. 
 |