I have this error in my webpage.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like ''' at line 1
However, I want to ignore this error because it does not influence my output. Therefore, I want to hide this error from displaying on user side.
I tried to use this code error_reporting(E_ALL ^ E_NOTICE);to hide this error, but only can hide "notice" error.
Any suggestion / solution to hide above error?