Rating Script

Discussion in 'PHP' started by bbooker01, Jul 12, 2009.

  1. #1
    Hey can someone help me make a script In which you click one of two images love or hate. Then the results are shown as the image for love and a number next to hit and the image for hate with a number next to it. Anyone can rate it doesn't require membership. Also how can I take that code so on other pages I can just show the results. By the way I am a php noob still learning so yeah.
    Thanks In advanced
     
    bbooker01, Jul 12, 2009 IP
  2. Dirty-Rockstar

    Dirty-Rockstar Guest

    Messages:
    252
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try to create it yourself. when you get stuck, post the errors and people will help you. if you want someone to build something for you, that is usually at cost and you are in the wrong spot for that
     
    Dirty-Rockstar, Jul 12, 2009 IP
  3. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,

    This is very possible, but you'd need to store the values (the amount of times it has been clicked) in a database. Because when a php script is terminated values are destoryed, so you need a means of storing them somewhere. Then you can retrieve data from the database wherever and whenever you want and do whatever you want with it.
     
    wd_2k6, Jul 12, 2009 IP
  4. bbooker01

    bbooker01 Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ok thanks I will try to attempt this myself, and will post back if I have nay problems thanks for all the help!
     
    bbooker01, Jul 12, 2009 IP