Re: [PHP] If...Or...Else

2004-07-24 Thread Marcus Strube
>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

[PHP] If...Or...Else

2004-07-24 Thread Robb Kerr
>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