[PHP] and or statement

2002-08-28 Thread Victor
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 fre

Re: [PHP] and or statement

2002-08-28 Thread Rasmus Lerdorf
That makes absolutely no sense. How is "and or" different from simply "or"? Draw me the sets and show me the overlap satisfied by this alien "and or" operator of yours. -Rasmus On Wed, 28 Aug 2002, Victor wrote: > What is the "and" "or" statement in php? > > I need this to see if the first st

Re: [PHP] and or statement

2002-08-28 Thread Todd Pasley
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 b

Re: [PHP] and or statement

2002-08-29 Thread Charles Fowler
 PHP and MYSQL Web Development manual by Welling and Thompson states  that logical operators are as follows: ___ Operator    Name    Use Result _

Re[2]: [PHP] and or statement

2002-08-28 Thread Tom Rogers
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: >>