Hi
I am trying to use the strcasecmp function.
I works fine when I print it, a 0 does come up for the matching strings.
When I try to use it in the If statment below it doesn't work, it never even runs the if even if the string do match....
can you help??
Thanks
$match = strcasecmp($first, $second);
print ($match);
if ($match = 0 ) {
print ("Match!");
print ("<br>");
}