Error Reporting on screen,

Ever wondered why your php script doesn’t show
errors like it did before. some servers mostly Live servers have errors suppressed.

Here’s how to override it.

error_reporting(E_ALL);
ini_set('display_errors', '1');