I'm trying to set up some voting logic on my site, and have the vote result update without refreshing the site. I did some research and AJAX seems to be the way to go, but I can't find a good tutorial on it.
I'm doing the update to Mysql
$query = "update RR_upload set vote = vote".$vote." where id = '".$var1."'"; mysql_query($query, $connection) or die (mysql_error());
How do I make it so AJAX updates the content of the site after running the vote update?