Hi,
When I am using the PHP interface routines to Postgres, any error (like trying to fetch a non-existent row) will pop up as an error message in the web browser. Is it possible to catch this error before it shows up in the browser? I rather like the solution found in the MySQL interface routines, where you can use mysql_error() or mysql_errno() to get better control on how to manage error situations.
Egil
When I am using the PHP interface routines to Postgres, any error (like trying to fetch a non-existent row) will pop up as an error message in the web browser. Is it possible to catch this error before it shows up in the browser? I rather like the solution found in the MySQL interface routines, where you can use mysql_error() or mysql_errno() to get better control on how to manage error situations.
Egil