hi every one. I need some ideas for the calculation. I have a table in the database with field names: Product_id,Name,Description,Quantity,Unit_price
What i want to do is when customer chooses the product, as soon as he/she enters the quantity it should automatically be multiplied by the unit price of that product e.g if unit price is 2pounds and quantity is 5 it should give me result straight away as 10. I am not sure as to how to add codes for a database table and can't seem to find help around