for security reasons, display_errors should be turned off in php.ini. this will not display the error on the browser. however it’s inconvenient during development not being able to see the error. this can be turned on with this code:ini_set("displa…
more »