Chapter 22. Creating an Online Storefront

In this chapter, you learn the following:

Create relational tables for an online store

Create scripts to display store categories

Create scripts to display individual items

In this short chapter, you create a generic online storefront. As with the previous project chapters, you learn how to create the relevant database tables as well as the scripts for displaying the information to the user. The examples used in this chapter represent one of an infinite number of possibilities to complete these tasks and are meant to provide a foundation of knowledge rather than a definitive method for completing this task.

Planning and Creating the Database Tables

Before you tackle the process of creating database ...

Get Sams Teach Yourself PHP, MySQL® and Apache All in One, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.