Re: Correct Coding

From: Date: Thu, 07 Aug 2003 17:17:01 +0000
Subject: Re: Correct Coding
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-158689@lists.php.net to get a copy of this message
> Is this the best way to do this? > if(isset($Task) && $Task == "Add") { Do something } > I want to check if the variable is set and if so, if it is "Add". why don't just do: if($Task == "Add") { Do something } regards, Juan

« previous php.general (#158689) next »