Re[2]: [PHP] and or statement
| From: | Tom Rogers | Date: | Thu, 29 Aug 2002 04:29:16 +0000 |
| Subject: | Re[2]: [PHP] and or statement | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114461@lists.php.net to get a copy of this message | ||
Hi,
Thursday, August 29, 2002, 1:35:47 PM, you wrote:
RL> That makes absolutely no sense. How is "and or" different from simply
RL> "or"?
RL> Draw me the sets and show me the overlap satisfied by this alien "and or"
RL> operator of yours.
RL> -Rasmus
RL> On Wed, 28 Aug 2002, Victor wrote:
>> What is the "and" "or" statement in php?
>>
>> I need this to see if the first statement is whatever, and or the second
>> statement is whatever...
>>
>> if (!isset($PHP_AUTH_USER) "and or" blah($blah)) {}
>>
>> Thank you
>>
>> - vic
>>
>> ______________________________________________________________________
>> Post your free ad now! http://personals.yahoo.ca
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
I think what he means is
if($a && $b) //and
if($a || $b) //or
That is the syntax
--
regards,
Tom