title: How to pass a javascript variable to a php file, to run a db query and return true or false
body: <p>The Question is pretty direct. I have two variables in JS. I want to pass these to a php file first to update a database, and then return back to the original file, a true or false value based on the query. How do i do this?</p>