Re: Variable scope

From: Date: Thu, 14 Jul 2011 21:17:06 +0000
Subject: Re: Variable scope
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-314080@lists.php.net to get a copy of this message
On 07/14/2011 03:54 PM, Karl DeSaulniers wrote: > Can anyone explain this to me. I can't read through all that crap, but I notice multiple times that you use undefined variables, due to typo or just not remembering what they are. You pass in $subjField but later try and use $subjectField. You pass in $e_cc but try and use $_email_cc, etc, etc, etc... Develop with: error_reporting(E_ALL); ini_set('display_errors', '1'); This will tell you about all of those undefined variables. -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#314080) next »