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
>


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

Reply via email to