Is there a way to update data in a MySQL DB when the user clicks on a link? I'm creating a voting app. It allows users to store questions to be used instantly or for a later use. When the user is viewing his created questions, he/she can click on a link that will update a column in the database that will store either 1 or 0 based on the question ID. (1 means that the question is available to vote and 0 is the opposite). I have written the code to retrieve questions from the DB. and now I am trying to write the code that will update question data by clicking on a link. Is there a way to update data in a MySQL DB whe