Anthony Ritter wrote:
<?
$first_name = "Hello";
$second_name = "Hello";
if(strcasecmp($first_name,$second_name)) {
echo "words are equal";
}
else
{
echo "words are not equal.";
}
?>
if(strcasecmp($first_name,$second_name)===0)
{ echo 'words are equal'; }
else
{ echo 'words are not equal'; }
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php