isset() and !=NULL
| From: | Marcjon Louwersheimer | Date: | Fri, 26 Mar 2004 18:40:43 +0000 |
| Subject: | isset() and !=NULL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-181573@lists.php.net to get a copy of this message | ||
Is there an easier way to do
isset($variable) AND $variable != NULL
? I use this alot in my if statements, and I was wondering if there's an
easier way to do it, maybe with a single function? Oh and another
question... how does if ($variable) work? When does it evaluate true?
--
Marcjon