Posted by Sean on 11/29/05 19:56
See the differece if you use === <? $name="henk"; echo "\$name=$name <br>"; echo "(int)\$name=".(int)$name."<br>"; if ($name === (int)$name){ echo "equal"; } else { echo "Not equal"; } ?> http://php.net/operators.comparison
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming