php with mysql

plz help

i have one page
home.php it contains 3 pages sales.php purchase.php allstock.php
i am able to purchase the iteam
bt whn i sale i need to update the database so i need mysql query which i am unable to write
my table name is product with two attribute productname and quantity(qty) i want to update qty\

What do you have for the code?

Sponsor our Newsletter | Privacy Policy | Terms of Service