Accessing Databases with Object-Oriented PHP
MP4 | Video: 1280x720 | 127 kbps | 48 KHz | Duration: 3h 48m | 502 MB
Genre: eLearning | Language: English
MP4 | Video: 1280x720 | 127 kbps | 48 KHz | Duration: 3h 48m | 502 MB
Genre: eLearning | Language: English
Now that PHP has true object-oriented capabilities, it's best practice to access databases using PDO (PHP Data Objects) and MySQLi. These methods produce database-neutral code that works with over a dozen systems, including MySQL, SQL Server, PostgreSQL, and SQLite. Learn how to use PDO and MySQLi to perform basic select, insert, update, and delete operations; improve security with prepared statements; and use transactions to execute multiple queries simultaneously. Author David Powers also covers advanced topics like instantiating custom objects, and compares PDO to MySQLi so you can decide which method is right for you.