Average Rating script

Posted by MILESMIBALERR on Stack Overflow See other posts from Stack Overflow or by MILESMIBALERR
Published on 2010-04-24T17:37:03Z Indexed on 2010/04/24 17:43 UTC
Read the original article Hit count: 222

Filed under:
|
|

I have asked this once before but i didnt get a very clear answer.

I need to know how to make a rating script for a site. I have a form that submits a rating out of ten to mysql. How would you get the average rating to be displayed from the mysql column using php?

One person suggested having two tables; one for all the ratings, and one for the average rating of each page. Is there a simpler method than this?

© Stack Overflow or respective owner

Related posts about rating

Related posts about php