How to hide mysql errors in PHP?
===

I use error_reporting(0) code for hiding PHP errors,which always works ,but there are some errors from mysql which are useless, is there any code for mysql to hide the mysql errors like invalid sql ,1064 errors 