Re: Undefined Variable Error in Windows Version

From: Date: Sun, 24 Dec 2000 15:24:46 +0000
Subject: Re: Undefined Variable Error in Windows Version
Groups: php.general 
Request: Send a blank email to php-general+get-31757@lists.php.net to get a copy of this message
>Now, I am CONSTANTLY getting "Warning: Undefined Variable..." >messages when running my scripts. Although I can re-write >EVERYTHING to get around it, I would rather NOT do so. >Is there a simple fix for this?? You can reduce the error reporting level in your php.ini eg. error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR; however, the warnings are there because you are using variables before they are defined, and this is not good practice :) Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org

« previous php.general (#31757) next »