Chapter 20. Creating an Online Storefront

In this hour’s hands-on lesson, the project is creating 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 hour 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 hour, 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 in 24 Hours 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.