Re: What does this do?: If(!$sql_result)

From: Date: Thu, 23 Nov 2000 01:43:42 +0000
Subject: Re: What does this do?: If(!$sql_result)
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-26775@lists.php.net to get a copy of this message
Hello Tom, (T == "Tom") tomhenry@direct-connection.com writes: T> The exclamation mark (almost) universaly stands for "NOT" T> T> So if = means "equal" Nope. = is assignment, == is equality T> then != means "not equal" T> T> also as previously described T> T> !$var can be interpreted as T> either $var "does not exist" -or- $var "is false" -Brian -- Why do we ask rhetorical questions?

« previous php.general (#26775) next »