Quote:
Originally posted by SloppyGoat
So, all it needed was "&&" instead of "and"? :knockedout:
|
Due to the order of precedence in PHP I guess, as thats the olny difference between "and" and "&&" and "or" and "||".
PHP has the following order of precedence (Left being highest):
PHP Code:
++ (Increment), -- (Decrement), /, *, %, +, -, <, <=, =>, >,
==, ===, !=, &&, ||, =, +=, -=, /=, *=, %=, .=,
and, xor, or