Not after code specifically, but I need someone to point me in the right direction.
I am looking for a way to increment a MySQL value without refreshing the page immediately. I realize this may be hard to understand so I'll explain:
My index page has a series of links which each display their own lightboxes. I want to keep track of how many times each link is clicked in order to identify what users like best. Because I am using lightboxes and thus not refreshing the page when the link is clicked, I can't use google analytics or my basic skills in PHP. I don't want to refresh on click.
Should I be keeping track of each click in hidden fields on the page and then incrementing the db entries when a physical link is clicked? Is there an easier or better way to do this?