A silly question. :P
| From: | GENESiS DESiGNS | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | A silly question. :P | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87736@lists.php.net to get a copy of this message | ||
Hello everyone,
I would like to know why you put this character (!) in front of this:
<?php
$var1 = "Hello";
$var2 = "hello";
if (!strcasecmp($var1, $var2)) {
echo '$var1 is equal to $var2 in a case-insensitive string comparison';
}
?>
Do you see the (!) in front of the strcasecmp() function? That! Why do you put
that there?
I'm trying to learn PHP, but it's been kinda hard. THANKS A LOT GUYS!
-GENESiS DESiGNS
-Sean Kennedy
-http://www.gdesigns.vcn.com