re: an if statement
| From: | Andy B | Date: | Tue, 23 Mar 2004 06:35:26 +0000 |
| Subject: | re: an if statement | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-181232@lists.php.net to get a copy of this message | ||
> although that'll generally "work", why not use
>
> if(empty($name) || empty($comments))
> { dosomething(); }
>
> --
> ---John Holmes...
because for some odd reason on any of the versions of php i am writing for
(4.0.6-4.1.3) it always fails