
February 17th, 2002, 05:11 AM
|
|
Contributing User
|
|
Join Date: Apr 2007
Location: Florida
Posts: 4,158

Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 7
|
|
|
RE: How to use this rating bow
Well, the way I do it is just to give them a drop down box with number one through ten. And then take their vote and stick add it to the current total vote in the table update the number of votes in the table. I also add their username and ip address to a table to make sure they aren't duplicate voting...
so say you have an item that has two votes on it, one for '6' and one for '8', in the table I would have 14 for a rating and 2 total votes recorded..then I can do the math on the fly....
|