In this chapter, we have examined the crucial role of relational databases in PHP web applications. We particularly focused on MySQL, an open source database management system that is very commonly used with PHP. Topics discussed included:
Introduction to databases and schemata
The Structured Query Language
PHP's MySQL functions
A simple data-driven application
Database abstraction