PHP5/IIS/Windows 2003/Smarty
I have 2 conditions
The 2nd condition should evaluate to false but it's evaluating to true.PHP Code:$value = 1;
$selected = 2;
if(($value === $selected) )
{
echo 'TRUE'; //DOESN'T work, which is correct
}
if(($value == $selected) )
{
echo 'TRUE'; //WORKS, which is WRONG
}
I am not sure why, but it's driving me mad.
Please help








Bookmarks