if you have a string $s = '12345' then
if(12345 == $s) is true but if(12345 === $s) is not true because 12345 is an int and '12345' is a string
Bruno Braga wrote:
Wich is the diference between if ($var == '1') or if ($var === '1')
== means equality and what does the === means ?!
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php