php
Display errors if not shown in PHP script
If you are unable to see the error that occurred in a PHP script then you can use the below code to show errors.
<?php
// Add this on the top of your PHP script
ini_set('display_errors', 1);
error_reporting(E_ALL);
?>
Was this helpful?
Similar Posts