* Thus wrote Ed Curtis ([EMAIL PROTECTED]):
>
> How would I write this statement:
>
> if $thisvar is not equal to this value or that value. { do stuff }
>
Ok. I have to throw this in for historical purposes :)
switch ($thisvar) {
case 'thisvalue':
case 'thatvalue':
break;
default:
// do stuff
break;
}
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

