in reply to Add/subtract from a database value

Eh, what piece do you have problems with? Everything seems trivial to me. Use an SQL statement to retrieve the values from the table. Use print to print out the form. Use CGI to parse the form response. Use + and - to add or subtract values, and use another SQL query to store the results.

-- Abigail