This works...

if ($name == jim || andrea || tommy)

I must have had an extra ( somewhere.

AD

"AndreaD" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Looking for the most code efficient way to do multiple boolean OR's on one 
> line
>
> if ($name==andrea) OR ($name==john)
>
> Ta
>
> AD 

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

Reply via email to