Q&A

Q1: Have we covered all the MySQL, SQLite, and PEAR::DB functions?
A1: By no means have we covered them all. There has really been space to cover only the basics in this chapter. However, if you are comfortable with the concepts we have covered, you will easily understand the remaining functions. You can read about the MySQL functions at http://www.php.net/mysql and find out more about SQLite at http://www.php.net/sqlite. The PEAR::DB documentation is available at http://pear.php.net/manual/en/package.database.php.
Q2: When should I use the PEAR::DB package in preference to working directly with database functions?
A2: The PEAR::DB functions should be used if your code is likely be deployed in different contexts from that of development. ...

Get Sams Teach Yourself PHP in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.