>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 G
>From time to time I need an If statement that includes an Or condition...
What's the correct syntax for the If line?
Thanx
--
Robb Kerr
Digital IGUANA
Helping Digital Artists Achieve their Dreams
http://www.digitaliguana.com
http://www.canc
2 matches
Mail list logo