Thread: Trapping NOTICE using PHP

Trapping NOTICE using PHP

From
"Dan Wilson"
Date:
Is there any way to trap the NOTICE output (specifically in PHP)?  I would
like to impliment an EXPLAIN feature in phpPgAdmin and have been
unsuccessful in finding a way to do this because all the information
returned by EXPLAIN is in a NOTICE.

Any ideas?

-Dan