Re: Error notice
| From: | David Smith | Date: | Sat, 12 Jul 2003 23:55:04 +0000 |
| Subject: | Re: Error notice | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-29212@lists.php.net to get a copy of this message | ||
You are referencing variables that you have not created (or perhaps array indexes that don't exist). To suppress these messages, fix your code to not do such things, or just put this at the top of your scripts:
error_reporting( E_ALL ^ E_NOTICE );
Or edit php.ini to make it happen globally:
error_reporting = E_ALL ^ E_NOTICE
--Dave
Marco Mastrorilli wrote:
-Notice: Use of undefined constant data...... -Notice: Use of undefined constant mail....... -Undefined variable........ Why in my scripts i always get error notice like this? How can i solve this problem? Thanks