For checking if one string matches another I've been using double equals sign up to now. e.g.
if ($string1==$string2)
This is because most of the strings I've been using are alphanumeric. However now I am trying the same thing with numeric values like this:
$string1 = 10;
$string2 = 10;
Questions is, do I do a single equal or a double equal to make sure the two strings match 100% not more not less just exact
So do I do:
if ($string1==$string2)
or
if ($string1=$string2)