Re: Not Null?
| From: | Robin Vickery | Date: | Wed, 31 Oct 2007 15:56:13 +0000 |
| Subject: | Re: Not Null? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263874@lists.php.net to get a copy of this message | ||
On 31/10/2007, Steve Marquez <smarquez@marquez-design.com> wrote:
> Greetings,
>
> I have a script that looks for the variable to be NULL and then execute. Is
> there a way for the script to look for anything or something in the variable
> and then execute?
>
> Ex:
>
> If (Œ$a¹ == Œ ANYTHING¹) {
oh dear, krazee quotes... at least I presume that's what those wierd
characters are.
Look in the manual for isset() (http://www.php.net/isset) and empty()
(http://www.php.net/empty).
-robin