CodeIgniter Forums
HIDE Notices ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: HIDE Notices ? (/showthread.php?tid=38104)



HIDE Notices ? - El Forum - 01-30-2011

[eluser]Evollution[/eluser]
how can i hide notices {php errors}


HIDE Notices ? - El Forum - 01-30-2011

[eluser]victorche[/eluser]
From the userguide ...
http://ellislab.com/codeigniter/user-guide/general/errors.html

Note: By default, CodeIgniter displays all PHP errors. You might wish to change this behavior once your development is complete. You'll find the error_reporting() function located at the top of your main index.php file. Disabling error reporting will NOT prevent log files from being written if there are errors.


HIDE Notices ? - El Forum - 01-30-2011

[eluser]Evollution[/eluser]
ok txn it worked i used error_reporting(E_ALL & ~E_NOTICE); to hide notices