Back to DFS's Workshop Page
Back to Agenda Page


Table/Array/File Project

This project consists of six small problems. Its purpose is to develop scripts to deal with a small flat-file database. As you work your way through the project, you are to cannibalize code developed in the previous problems and any other available code, either on this website or at the PHP website.

The Tabulating Dice Rolls problem introduces you to the concept of displaying organized and calculated data in an HTML table.

The remaining problems constitute a cohesive set of scripts for displaying and maintaining data in an organized file.

Each individual problem has its own descriptive page.

  1. Tabulating Dice Rolls
  2. Displaying Data from a File in a Table
  3. Appending Data to a File
  4. Sorting Data from a File
  5. Editing a Record in a File
  6. Deleting a Record from a File

Create a directory in your public_html directory called "dice" for the first problem. Create a directory in your public_html directory called "baseball" for all of the scripts and data for the last five problems. In the baseball directory, set up an index.html page for the five operations. Create/extend an HTML page called index.html in public_html which has direct/indirect links to all of your solutions. Your directory tree should look something like the one above.


© 2006 DFStermole
Created 11 Nov 06
Last Modified 29 Nov 06