How to display errors in PHP file?
If you are getting no error but your desired result is not coming . Then may be the reason of php setting in your server . In server there is a file named php.ini . In that file error display setting is available . You just need to do according to below code .
ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);
Comments
Post a Comment