We need a simple click tracking for buttons and links in a website. Each click on either a button or link should execute a mysql query and set reduce a number for the specific records.
e.g "UPDATE products SET credits=credits11 WHERE id_product= $vid"
(vid is a URL parameter on the specific page to associate the link with the specifci record to update)
It would be good if you could test the script locally and just send us the final version.