Re: What does this do?: If(!$sql_result)
| From: | (Tom) | Date: | Wed, 22 Nov 2000 22:39:36 +0000 |
| Subject: | Re: What does this do?: If(!$sql_result) | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26749@lists.php.net to get a copy of this message | ||
The exclamation mark (almost) universaly stands for "NOT"
So if = means "equal"
then != means "not equal"
also as previously described
!$var can be interpreted as
either $var "does not exist" -or- $var "is false"
HTH
enquiries@cybercandy.co.uk ("Cybercandy") wrote in
<020701c05472$fadd83c0$574d01d5@allan>:
>What does this do?: If(!$sql_result)
>
>I don't understand what the exclamation mark does in this context, please
>shed some light.
>
>