PDO: Error HandlingTag: Category: PHP Databasepost: 19 Apr 2008 read: 593 PHP Data Objects (PDO) Step By Step Tutorial - Part 6: When everything is okey, we didn't need error checking. But, we never know (especially at real world) what will happen, error handling is needed. We should check for errors when opening the connection to database, select database, and run query. We can implement error handling at PDO like this:
|
| | Give Your Opinion | Recommend |
|


