Chapter 22. Creating an Online Storefront

In this short, hands-on chapter, 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 scripts to display store categories

  • Create scripts to display individual items

Planning and Creating the Database Tables

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

Get Sams Teach Yourself PHP, MySQL and Apache All in One, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.