Hi,
Say i have a simple products table with a quantity attribute and an orders table. I'm adding some sort of form for place a new order.
How would you suggest i automatically update the quantity in the products table when a new order is placed (E.g. user selects a product in the form, need to decrease that quantity by one in the products table).
Thanks
Say i have a simple products table with a quantity attribute and an orders table. I'm adding some sort of form for place a new order.
How would you suggest i automatically update the quantity in the products table when a new order is placed (E.g. user selects a product in the form, need to decrease that quantity by one in the products table).
Thanks