You can display all errors in php by these tricks.
First method: simple copy this code and paste top of the page or header for display all errors in php.
for display all errors in php use these step.
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Second method: Display all errors using php.ini file.
display_errors = on
First method: simple copy this code and paste top of the page or header for display all errors in php.
for display all errors in php use these step.
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Second method: Display all errors using php.ini file.
display_errors = on
No comments:
Post a Comment