Updating MySQL table with a link click

Updating MySQL table with a link click

I have a link that when I press it I want it to update a column in the MySQL table based on the ID of the "post". I don't want the URL to change and it needs to refresh back to the normal page. 

-S2