Re: Error notice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux