ok I need help setting up my DB for a rating system. I need users to be able to rate on items only once. I don't now how to set it up so after they vote they cannot rate again. and how to check if they already rated.
example
..............................................................................................
Rating System
Item-------currentRating-----Votes-------whoRated
Candy------4.5------------------3----------Chad Don Greg Tim SexyMan
...................................................................................................
I know how to check if their name is in there, how to add a new person in there, add a vote every time someone votes and how to change the currentRating based on number of votes. i dont know how to make the script check if they have rated on it.
