title: How can I use jQuery to run MySQL queries?
body: <p>Is it possible to run a MySQL query using jQuery? I'm trying to emulate the functionality of voting on SE sites. </p>
  
  <p>The vote counter on SE automatically updates without the need to reload the page (which is what I currently have, a hidden form that re-submits to the current page but runs a small block on PHP that updates the score of a question in the database). I'm assuming that is being done using Javascript/jQuery seeing as it is dynamic.</p>
  
  <p>How can I do this? Is there a library which makes it easy and simple (like PHP)?</p>