if (($thisvar != "this value") and ($thisvar != "thatvalue")) { // do stuff }
Cesar Cordovez wrote:
if (($thisvar != "this value") or ($thisvar != "thatvalue")) { // do stuff }
cesar =)
Ed Curtis wrote:
How would I write this statement:
if $thisvar is not equal to this value or that value. { do stuff }
Thanks,
Ed
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php