How do I turn off PHP Notices, Error and Warning?

Just write the below code


<?php
// Turn off all error reporting
error_reporting(0);
?>

Comments

Popular posts from this blog

MySQL error when inserting data containing apostrophes (single quotes)

Simple Laravel CRUD with Resource Controllers