I know that in general the php errors can be suppressed using error_reporting(0) or the ‘@’.
I have many sql queries being fired in a certain section of my work, I wanted to know that does adding error_reporting(0) suppress the appearance of errors arising from mysql queries?
I read online varying answers. Some state it will help while others say it wont work like that .
Try putting this at the top of your code:
And yes, adding
@at the beginning of functions etc, for example:Should suppress errors.