All you need to do is, add the following lines to the top of your php code and it will display the errors.
Here is the code:
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
All you need to do is, add the following lines to the top of your php code and it will display the errors.
Here is the code:
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);