I have some php questions about Implementing a simple star rating script in a comments script for my website. If anyone can help please message me and I will pay you for your time. Professionals only please as this is complicated and I dont want to waste anyones time including my own. Thank you very much!
You are in right place, ask question in public so you will get more answers and you will help others with same problem. Regards
I'm trying to add a 5 star rating script to a comment script. I have to implement one into another, but I don't know if this is the way to go :-/
depends on the way you want it to look also. Example 5 stars and they light up as you mouse cursor over them , selecting the amount you want to vote? or simple radio buttons with the .jpg image of stars above them ? radio button would store each as 1,2,3,4,5 and the users selection would be sent $_POST and stored to a database. A script could grab all the ratings for that post (assuming post has a number or title method) then it uses a PHP math script to average the ratings giving an average total and displaying it to the page above /next to the Title of the comment with how many users voted. Example = 3,245 users rated this comment. Average Rating 4 * * * *