kaveman50 Posted November 14, 2009 Share Posted November 14, 2009 nevermind Link to comment https://forums.phpfreaks.com/topic/181523-solved-nevermind/ Share on other sites More sharing options...
Alex Posted November 14, 2009 Share Posted November 14, 2009 Just use count() and array_sum. Like so: echo array_sum($arr) / count($arr); Link to comment https://forums.phpfreaks.com/topic/181523-solved-nevermind/#findComment-957531 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.