Ok so this is gotten me. Im trying to get a sql insert to work only if 2 varibles do not equal each other. So easy right just compare the 2 varibles and if they arent equal do the code. Well even if the 2 are equal the code runs. I have checked the output of both varibles and they are indeed the same data. So Im looking for a QA to look and see if i missed something. I have tried all versions of not euqal that I know of <> != and !== it just keeps executing with all. Thanks for any suggestions.
if ($callsign != $sameCallSign)
{
mysql_query("INSERT INTO narratives SET username = '$username', Entry = 'Call Sign changed to $callsign $sameCallSign', Admin = '$session->[username]', Date = NOW()")
or die(mysql_error());
}