Display errors for debugging

Placce these 2-line code on your php page and error message will be displayed.

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