Re: easy question.
| From: | Alex Black | Date: | Wed, 24 Jan 2001 23:38:30 +0000 |
| Subject: | Re: easy question. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36523@lists.php.net to get a copy of this message | ||
if(($fname) && ($lname) && ($email))
{ echo "test"; }
>
> Is there an easier way to write the IF line?
if (isset($fname) && isset($lname) && isset($email)) {
echo "test";
}
I believe the parens in your code don't do anything. anyway, best o' my
knowledge that's the way to do it.
"_)
-a
> Thank You
>
> .:: Nathan Cook [ ncook@pcsedu.com ] ::.
> Systems & Network Administrator :: Programmer
> [ phone - 208.343.3110 ][ pager - 208.387.9983 ]
>
>
> --
> 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
>