11-08-2008, 11:43 PM
|
#11 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Yah :) I have no idea what the estimates was.
But the basic idea here is that you have a table "ratings".
id, productid(or w.e id you have on the thing that is being rated), 1, 2, 3, 4, 5
Then when someone rates 2, add one to the "2" column
And when getting the actual rating of the product(or w.e), you do the formula that I posted in my previous post 
__________________
|
|
|
|