Chapter 21. Creating an Online Storefront

In this short, hands-on lesson, you will create a generic online storefront. You will learn the methods for creating 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.

In this chapter, you will learn how to

  • Create relational tables for an online store

  • Create the scripts to display store categories

  • Create the scripts to display individual items

Planning and Creating the Database Tables

Before you tackle the process of creating database tables for ...

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

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