Jump to content

n00b question


marklarah

Recommended Posts

Sorry, I know this is a n00b question (im almost embarrassed to ask it) but im doing a rating system. So a have a table in my DB with each row representing a rate, with a few feilds. So lets say there are 3 rows (three  people have rated). How would I work out the average rate and round it to no decimal places?

 

What im asking is how do you  add up all the values of a field in multiple rows?

Link to comment
https://forums.phpfreaks.com/topic/99838-n00b-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.