I'm working on sort of a product info updating system using CGI and DBI. Right now, I query my db for the product name and quantity and display the info of all products on a single webpage. I display a name column and current quantity column, both non-editable. I also have an "add" column and a "subtract" column next to each product's current quantity level where I can enter a number to add or subtract from the quantity. My question is, how do I go about grabbing all the values to add or subtract and do the calculations on the appropriate products?