Hi all,
I'm trying to figure out how to stop MySQL errors being displayed to the user.
I have turned off all the necessary options in php.ini such as
display_errors = Off
log_errors = On
error_log = /path/to/log/
I have even tried to override these settings using ini_set() in my script.
This prevents PHP syntax errors from being displayed, but Mysql errors are still being shown to the user!
How do I turn this off?