8 Designing Your Web Database

NOW THAT YOU ARE FAMILIAR WITH THE BASICS of PHP, you can begin looking at integrating a database into your scripts. As you might recall, Chapter 2, “Storing and Retrieving Data,” described the advantages of using a relational database instead of a flat file. They include

image  RDBMSs can provide faster access to data than flat files.

image  RDBMSs can be easily queried to extract sets of data that fit certain criteria.

image  RDBMSs ...

Get PHP and MySQL® Web Development, Fourth 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.