> <?php
>   if ((condition1 == TRUE) OR (condition2 == TRUE)) {
>     do something;
>   } esle {
>     do something else;
>   }
> ?>
>
> What's the correct syntax for the If line?

if(true == condition1 || true == condition2) {
        echo "Hello World";
} else {
        echo "Best Regards";
}

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

Reply via email to