Back to DFS's Workshop Page
Back to Agenda Page
Back to the Project Page


Appending Data to a File

For this problem, you are to cannibalize any available code and write a script which will do the following.

The HTML Page: addaplayer.html

The PHP Script: addaplayer.php

  1. Check the data received to ensure that the values are possible; use die or exit to report problems and terminate execution.
  2. Using the trio of functions, fopen, fwrite, and fclose, to append the new data to the data file created in the previous problem.
  3. Display the data now in the modified file in a table as done in the previous problem.

Check out this solution.


© 2006 DFStermole
Created 19 Nov 06
Last Modified 26 Nov 06