Before the PHP code starts, add the following lines:
error_reporting(E_ALL);
ini_set('display_errors', '1');
These two lines set script-wide variables that will allow the errors in your current script to output to screen.
Before the PHP code starts, add the following lines:
error_reporting(E_ALL);
ini_set('display_errors', '1');
These two lines set script-wide variables that will allow the errors in your current script to output to screen.