Forum Moderators: coopster
$test = (trim(md5("SPECIALCODE12")) == $code)?"yes":"no";
But I get a false result whatever I do - even if I copy and paste the value of $code into the first half of the comparison. Also, if I echo out the two sides of the comparison, they look identical.
I'm sure this must be something really silly, but I can't think what.
I'ld really appreciate any help.
$test = (trim(md5("SPECIALCODE12")) [b]===[/b] $code) ? "yes" : "no";