Menu
Is there a way to find the most commonly occuring value in an array?
For example, if $array[0] = “Red” / $array[1] = “Blue” / $array[2] = “Red” / $array[3] = “Yellow” how would I return that “Red” is the most common value? I made some big complicated routine but I got errors like crazy.