Jan 21, 2007, 9:39 PM
Post #1 of 2
getting DBI::errstr in server side
i am catching the error in cgi script on server side.
if the DAO ie. DB error occurs like database connection failed.
then i want that errors string to be accessible in server cgi script
but i cant use the global variable DBI::errstr as its on server side and i want it for specific clients.the varible $dbh database hadndler wont work as it will be undefined. can i get this value in some variable so that i can use it.
thanks in advance