I'm trying to set up a shoping cart. I have a table in a mysql database named products. In it I have 4 fields; id,name, price & inStock. What do I have to do to subtract from the value in inStock? I have tried to pull in the value of inStock and subtract the qty. the user wants from it. When do, the value is set to - the qty. the user wants. I think when I pull in the value of inStock it is treated as a string instead of an integer. PLEASE HELP!!
--php newb