Re: easy question.

From: Date: Wed, 24 Jan 2001 23:42:18 +0000
Subject: Re: easy question.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36529@lists.php.net to get a copy of this message
proposed IF: >> if(($fname) && ($lname) && ($email)) Alex: > 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. First IF tests whether the vars are 'true', Alex's IF tests whether they exist. Chris -------------------------------------------------------------------- -- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands -- --------------------------------------------------------------------

« previous php.general (#36529) next »