Database Update Form



This is a form which allows the user to input status data into a form for various items e.g. projects. It's a really good illustration of the use of state in a CGI-program. It toggles between 2 states - the "Read" State, in which the last update made to the item is displayed, and the "Modify" state, in which the user is allowed to input an update. This principle utiliis zed for use in Web applications that use a database. Flat files corr. to each item are used as the database.

Sample Input

This is what the input screen looks like.

Source Code

Here is the source code. You can download it and modify it to fit your site.


femibyte@home.com