O'Reilly logo

PHP Master by Matthew Turland, Lorna Mitchell, Davey Shafik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2Databases

Databases and data storage are key components of any dynamic web application. It’s important to gain an overview of when to use a database, and especially how to use the PDO (PHP Data Object) extension to connect to a database. The PDO extension examples we’ll be going through use MySQL, probably the most popular structured query language used to communicate with databases. However, PDO can be used in the same way with many database platforms, so regardless of what kind of database your project contains, there’ll be plenty of information for you to soak up here.

We’re also going to investigate some handy tips for good database design, so that you can maximize your application’s efficiency and performance.

Persistent Data and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required