Page 1 of 1

Posgresql error captureing without warnings

Posted: Thu Nov 20, 2008 10:38 pm
by srajakaruna

Code: Select all

$res = pg_query($sql)
I want to capture the error above core returns without aborting the program. How should I capture it using try catch or setting the error_reporting. Please help