Hi,

Friday, March 14, 2003, 7:13:15 AM, you wrote:
LG> I know that in a case like this

LG> if((test1) && (test2) && (test3)) {
LG>     ...
LG> }

LG> if test1 fails, dear PHP won't bother doing test2 and 3. Am I correct? Is there a 
syntax that will make it carry on with test2 and 3 anyway, regardless of how test1 
came out?

if(!(test1 || test2 || test3)){
        echo "Failed";
}else{
        echo "Success";
}

-- 
regards,
Tom


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

Reply via email to