Search code snippets, questions, articles...

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.
    // Add this on the top of your PHP script
    ini_set('display_errors', 1);
Was this helpful?
Programming Feeds
Learn something new everyday on Devsheet