Re: if ($blah) clauses
| From: | Steve Hsieh | Date: | Sat, 08 Jul 2000 20:57:58 +0000 |
| Subject: | Re: if ($blah) clauses | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5564@lists.php.net to get a copy of this message | ||
See http://www.php.net/manual/function.isset.php
----- Original Message -----
From: "Emile Axelrad" <mail@protonic.com>
To: <php-general@lists.php.net>
Sent: Saturday, July 08, 2000 4:50 PM
Subject: [PHP] if ($blah) clauses
> Bonjourno!
>
> A question - easiest one you'll have seen all day!
>
> if ($blah) {
> do something;
> }
>
>
> Thats fine. If $blah doesn't have a null value, it executes. But how do I
> say, if $blah DOESN'T have a value, then execute?
>
> i.e. something like
>
> if (!=$blah) {
> do something;
> }
>
>
> . I am not interested in if ($blah == '') or something like that - I'd
like
> a 'neat' way of doing it! :o)
>
> Cheers,
> Emile
>
>
> --
> 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
>