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 cant find a good tutorial on it.
im 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 udates the content of the site after running the vote update?