How to catch this error? Unable to jump to row 0 on MySQL result index

So that it does not appear on the screen, but is admittedly passed to the $ error = "ERROR" variable;

    2 answers 2

    Use try/catch more here: PHP exceptions .

      Or try this:

        error_reporting(); error_reporting(0); error_reporting(7); error_reporting(8);