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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux