chennaiaras
Feb 28, 2008, 03:22 AM
Hi all
I am connecting to mysql from php5.0.
Sometime I am getting access denied error for that user @localhost.
Now I want to catch that exception without printing on the browser and display my own error message.
How can I handle this.
Even though I write the connection line within try.. catch it displays the 'Access denied' message.
Regards
Aras
I am connecting to mysql from php5.0.
Sometime I am getting access denied error for that user @localhost.
Now I want to catch that exception without printing on the browser and display my own error message.
How can I handle this.
Even though I write the connection line within try.. catch it displays the 'Access denied' message.
Regards
Aras