Re[2]: [SMARTY] Warning in Smarty 2.3.0

From: Date: Wed, 27 Nov 2002 17:35:27 +0000
Subject: Re[2]: [SMARTY] Warning in Smarty 2.3.0
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6574@lists.php.net to get a copy of this message
Hello Michael, I disagree .. you can get a warning, but simply not setting a variable before a reference is made to it.. so something like if ($A == '1'){ do this } will generate a warning, unless $A is initiated earlier in the script. Wednesday, November 27, 2002, 12:23:49 PM, you wrote: MP> At 12:22 2002-11-27 -0500, you wrote: >>If you have error reporting set to all, you will receive a ton of >>warnings .. even if they aren't really problems .. so set your >>reporting to not include warnings. MP> Yuo only get warnings when the code is buggy. A better solution is to code MP> properly. -- Best regards, guido mailto:sguido@rogers.com

« previous php.smarty.general (#6574) next »