I want to handle database errors in php more gracefully than I am now.
Usually I do a
....or die("error statement");
But that still leaves a nasty php error message
"..... on line 32 " or something
I want to be able to continue with loading the page and show the error statement separately.
I am writing a simple browser based client to MySQL Db and I want to show the users SQL or other errors in a separate textbox... and not have the 'or die' instead.
Thanks for any suggestions.