Save sqltable.php as sqlstyledtable.php.  Change:The CD table

  1. the database name from ywstutorial to intsql as we are about to use firsttable (if you only have one database skip this change)
  2. the table name in the SELECT query from first to firsttable
  3. the headings, variable names and table structure to display all of the information from the database

This may take a while but is essential practise as well as preparing for the next step.  Remember to check the end result (HTML view source) in the validator.

Once the page works you might need to add an extra two records using PHPMyAdmin.  You need at least five rows (CDs) with different prices.