Dave Smith [mailto:DavidSmith@;byu.net] wrote:
> I can never remember whether SQL is left-to-right, right-to-left, or
> some other deviant. Using parens is a sure way to guarantee that your
> statements are processed in the order you desire.
It's easy if you remember: AND is equal to multiplication, OR is equal to
addition. Multiplications are done before additions, so ANDs are done before
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php