Hiding warnings?
Posted: Thu Jun 02, 2005 5:58 am
Is there a way of hiding all warnings that come up on your browser? I have my project demonstration in an hour and i NEED to get rid of them!!!!
Thanks
Thanks
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
error_reporting(0);Also worth noting... ini_set()phpScott wrote:if you have access to the php.ini you can alway turn the error reporting off. Then restart your server.
Code: Select all
error_reporting (E_ALL ^ E_NOTICE);