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.