Re: easy question.

From: Date: Wed, 24 Jan 2001 23:30:40 +0000
Subject: Re: easy question.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36520@lists.php.net to get a copy of this message
the only thing I can think of, would be to eliminate the () around $fname, $lname, and $email if they all test true in the first place, the () are kinda obsolete. :) Nathan Cook wrote: > > I have always wrote code this like: > > if(($fname) && ($lname) && ($email)) > { echo "test"; } > > Is there an easier way to write the IF line? > > 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

« previous php.general (#36520) next »