Re: WHERE is syntax doc'ed for saying: if (expr1 *OR* expr2 *AND* expr3)

From: Date: Mon, 25 Aug 2008 00:16:38 +0000
Subject: Re: WHERE is syntax doc'ed for saying: if (expr1 *OR* expr2 *AND* expr3)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-278617@lists.php.net to get a copy of this message
Govinda wrote:
I swear I am RTFM, but it's an art in itself (at first anyway)/ WHERE is the syntax doc'ed for saying: if (expr1 *OR* expr2 *AND* expr3) { ? I got *AND* to work with "&", but "|" does not seem to work for *OR*
Actually & is a bitwise operator in php, not what you want. You want && http://www.php.net/manual/en/language.operators.logical.php -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#278617) next »