Re: What does this do?: If(!$sql_result)
| From: | Mattias Segerdahl | Date: | Wed, 22 Nov 2000 11:04:45 +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-26614@lists.php.net to get a copy of this message | ||
if the variable $sql_result dosn't excist or is not filled, do whatever..
I'd sugest using either isSet() or empty() instad..
// mattias aka bad2da
----- Original Message -----
From: "Cybercandy" <enquiries@cybercandy.co.uk>
To: <php-general@lists.php.net>
Sent: Wednesday, November 22, 2000 11:57 AM
Subject: [PHP] What does this do?: If(!$sql_result)
> What does this do?: If(!$sql_result)
>
> I don't understand what the exclamation mark does in this context, please
> shed some light.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>