I have a database that looks like:
id|text|rating|TimeOfRating
for discription: if a user rates a comment with four points out of 5, 4 points are added to rating and to TimeOfRating 1 is added.
how ist it with php possible to filter out the 10 comments with the best rating?
Cheers!
This will give you the average rating: