_______________________________________________________________________________
Operator Name
Use
Result
_______________________________________________________________________________
! NOT !$b Returns true if $b is false and vice versa
&& AND $a && $b Returns true if both $ a and $b are true; otherwise false
| | OR $a | | $b Returns true if either $ a or $b are true; otherwise false
and AND $a and $b Same as && but with lower precedence
or
OR $a
or $b Same as | |
but with lower precedence
_______________________________________________________________________________
Just wanted to touch on the matter of the little fact that " and " and " or " can be used in PHP but the order of precedence.
Hope this is helpful
¬¬Chuck¬¬
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php