kaveman50 Posted November 14, 2009 Share Posted November 14, 2009 nevermind Quote 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); Quote Link to comment https://forums.phpfreaks.com/topic/181523-solved-nevermind/#findComment-957531 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.