Opposite of if($a == $b) ??

Hey,

I’m wondering if there is a way to do this:
if($a DOES NOT EQUAL $b) {
echo “hello”;
}

like exactly the opposite of what would be acheived with
if($a == $b) {
echo “hello”;
}

-Nick

$a != $b

Look at http://www.php.net/manual/en/language.o … arison.php

Sponsor our Newsletter | Privacy Policy | Terms of Service