It is also safer to use "===" instead of "==" if you want to ensure type safety. http://www.php.net/manual/en/language.operators.comparison.php - Ed Felt