PHP How to enable and display error messages
Bookmark and Share

INI_SET display_errors | Error_reporting in PHP - How to enable and display error messages




<?php
// before any output
ini_set('display_errors', 1);
error_reporting(E_ALL ^ E_NOTICE);
 
// continue with code
 
?>


I always needs this jumping back and forth between client hosting environments... might as well post it

-enjoy
Recent Comments