How can I do this to determine if one of the items is false if none are
then I what it to print the first echo of there is one that is false
then print the second echo
$test1= "YES";
$test2= "YES";
$test3= "YES";
$test4= "YES";
$ftest1= "YES";
$ftest2= "NO";
$ftest3= "YES";
$ftest4= "YES";

if ($test1==$ftest1)or($test2==$ftest2)or($test3==$ftest3)
or($test4==$ftest4){
echo "all of the items are true";
 }else{
  echo "one of the items is false";
 }

-- 
Best regards,
 rdkurth                          mailto:[EMAIL PROTECTED]


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

Reply via email to