i've never had a problem doing if ($var=="test") ?? > I've come across this recently too. I think what's happening is that > PHP is converting "NFH" to an integer, which would be zero in this > case. Thus zero == zero is true... > > Try doing type checking too: > if ($EA === "NFH") > > Martin >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php