How to capture exceptional error when connect to Mysql DB
Posted: Mon Jan 29, 2007 10:01 pm
Hi All,
I'm new in PHP and MySql, I did Ms VS .Net programming as well. Just wonder how am I going to
write PHP code to capture the expectional error during connecting to MySQL database. In .Net
there is something like try and catch?
Thanks
Cheers!
I'm new in PHP and MySql, I did Ms VS .Net programming as well. Just wonder how am I going to
write PHP code to capture the expectional error during connecting to MySQL database. In .Net
there is something like try and catch?
Thanks
Cheers!