Retrieving MySQL exceptions
Posted: Tue Dec 02, 2008 12:46 pm
Hi
I want to display the actual exceptions that occurs on the database side rather than showing my custom messages in PHP using throw clause. How can i do this?
eg: on inserting a record in the database, i am getting a unique constraint violation exception but i dont know how to display it in php.
Thanks and regards
Admin
http://www.stagtechnologies.com
I want to display the actual exceptions that occurs on the database side rather than showing my custom messages in PHP using throw clause. How can i do this?
eg: on inserting a record in the database, i am getting a unique constraint violation exception but i dont know how to display it in php.
Thanks and regards
Admin
http://www.stagtechnologies.com