How to Hide PHP Error Messages?

jack

New member
I have been told to use this:

error_reporting(0)

I don't know any PHP so what I did was turn it into this:

<?php error_reporting(0); ?>

and put it at the top of my PHP page. Then to test if it works I made a PHP error on purpose and unfortubately the error messages still show up on the browser.

How do you use error_reporting(0); exactly, so that no error will ever show?
 
Back
Top