Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

display error php

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
?>

<?php
error_reporting(E_ALL & ~E_NOTICE); // if don't want to see notice
// Or
error_reporting(E_ALL);
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #display #error #php
ADD COMMENT
Topic
Name
7+1 =