In this chapter, we took our first steps with PDO and even created a small working database-driven, dynamic application that runs on two different databases. Now you should be able to connect to any supporting database, using the rules for constructing a connection string. You should then be able to run queries against it, and to traverse and display the result set.
In the next chapter, we will deal with a very important aspect of any database-driven application—error handling. We will also extend our example application by giving it the ability to add and edit books and authors, thus making it more realistic and useful.