Question
Star Rating
I'm trying to create a star rating system.
I have so far managed to create the rating system for individual products.
What i now wnat to do is work out the average star rating for each product.
I have a racordset that gets the product ID and the rating number 1 to 5
How do i total the rating numbers and divide by the number of ratings given?
e.g.
The recordset has 10 results and the total of all of the ratings is 63
Thanks
Andy
I have so far managed to create the rating system for individual products.
What i now wnat to do is work out the average star rating for each product.
I have a racordset that gets the product ID and the rating number 1 to 5
How do i total the rating numbers and divide by the number of ratings given?
e.g.
The recordset has 10 results and the total of all of the ratings is 63
Thanks
Andy
