if (cond || cond2)
OR
if (cond OR cond2)
What do you use, and why?
It doesn't matter except you combine it because || has a higher priority as OR.
Rainer
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php