I am using the script found on this page.
I downloaded the whole package found on the page and modified the url to the php file like this:
$('#rate').rating('output.php', {maxvalue:5});
And in the output.php I have this. The author of the page says that the post will be calling rating. So that is why I'm using post rating.
<?php
if(isset($_POST['rating'])) {
header("Location: http://www.google.com");
}
?>
But when I run the page and select a few stars nothing happens. The reason why I did header location because I wanted to see if the thing works. But it's not working for me. Do you guys know what I could be doing wrong?