Re: and or statement

From: Date: Thu, 29 Aug 2002 04:14:48 +0000
Subject: Re: and or statement
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114460@lists.php.net to get a copy of this message
Apologies if im not quite understanding this... but to me it reads you want... if ((X and Y) OR Y) ..... which mathematically is simply if (Y). If this is what u actually mean, then all u need is if (blah($blah)) because the value of the first predicate is going to have still depends on Y to be true. Is there something im missing? Todd > 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 >

« previous php.general (#114460) next »