PHP Solutions pp 417-434 | Cite as

Pulling Data from Multiple Tables

  • David Powers
Chapter

Abstract

As I explained in Chapter 11, one of the major strengths of a relational database is the ability to link data in different tables by using the primary key from one table as a foreign key in another table. The phpsols database has two tables: images and blog. It's time to add some more and join them, so that you can assign categories to blog entries and associate images with individual articles.

Keywords

Prepared Statement Article Table Individual Article Query String Image Table 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© David Powers 2014

Authors and Affiliations

  • David Powers
    • 1
  1. 1.LondonUnited Kingdom

Personalised recommendations