JustinW Posted April 19, 2009 Share Posted April 19, 2009 Hello, I need to do this. Let's say you have a table and within this table there's a field named "ratings." Within this field, there are numbers. I need to get the average (mean) of these numbers. How would I do this? Link to comment https://forums.phpfreaks.com/topic/154721-solved-getting-the-average-of-an-array-mysql/ Share on other sites More sharing options...
.josh Posted April 19, 2009 Share Posted April 19, 2009 avg() Link to comment https://forums.phpfreaks.com/topic/154721-solved-getting-the-average-of-an-array-mysql/#findComment-813583 Share on other sites More sharing options...
JustinW Posted April 19, 2009 Author Share Posted April 19, 2009 Thanks! Link to comment https://forums.phpfreaks.com/topic/154721-solved-getting-the-average-of-an-array-mysql/#findComment-813590 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.