Turning error reporting off php
<p>I wanted to turn off the error reporting on a website. Googling for it I found that placing the code mentioned below in the website stops the errors from getting displayed on the screen. I placed it into my website but it did not worked. Please help me out. Thanks</p>

<pre><code>&lt;?php

error_reporting(0); // Turn off all error reporting

?&gt;
</code></pre>
