Weeeeeeeell - sort of. The precedence level can be tricky, sometimes "||" doesn't act like "or" (and the same with "&&" and "and").On Sun, 2004-10-03 at 04:39, Graham Cossey wrote:
isn't the || same as && ? Or I missed something?
No, || is OR, and && is AND Check out http://www.php.net/manual/en/language.operators.logical.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php