Hello,
I have followed a tutorial and go it working correctly. It lets the user click 1 - 10 and rate the information present.
I want to change my code so that each time someone clicks the link to vote (rate) it will add that number to the database. (This is happening already) but I want to make it so that it also does not go back to the rating officer page but back to the main rating page, where all posts are shown.
So this line of code lets someone vote and then it reloads the same page. I want to go from the officer page back to the main page (copfeed.com/rating) when someone presses 1 - 10.
Each time I change the code it will not update the database.
What EXACTLY do i need to do with this line to make it work:
[php]<?php echo $rating; ?>[/php] Remember I want to go back to the ratings page…
Links:
copfeed.com/rating
http://copfeed.com/rating/officername.php?id=1
Thanks,
Bdenn