O'Reilly logo

PHP Advanced for the World Wide Web: Visual QuickPro Guide by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Showing the Products Online

Now that the database exists and there are products therein, you can create the HTML and database-interaction that allows users to view the different products. Again, there's not too much new here (the most important part of the application will be in the next two sections), but I'll go through it so you understand how the whole operates. All of the scripts and images—should you decide to follow this same format—are available on the companion Web site.

To create the store:

1.
Create the header file in your text editor (Script 6.8). I won't go over this script in detail except to point out that it creates a table consisting of three rows: the top header, the middle content, and the bottom footer (which is in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required