Adding PHP Star Rating Script To A PHP Comments Script - Will Pay for Your Help!

Discussion in 'PHP' started by xeastx, Oct 26, 2013.

  1. #1
    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!
     
    xeastx, Oct 26, 2013 IP
  2. jscg

    jscg Well-Known Member

    Messages:
    161
    Likes Received:
    5
    Best Answers:
    3
    Trophy Points:
    108
    Digital Goods:
    2
    #2
    You are in right place, ask question in public so you will get more answers and you will help others with same problem.

    Regards
     
    jscg, Oct 27, 2013 IP
  3. xeastx

    xeastx Active Member

    Messages:
    385
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #3
    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 :-/
     
    xeastx, Oct 27, 2013 IP
  4. xeastx

    xeastx Active Member

    Messages:
    385
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #4
    Useless posting. Someone delete please... lol
     
    xeastx, Oct 27, 2013 IP
  5. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #5
    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 * * * *
     
    ezprint2008, Oct 30, 2013 IP