array_count_value
Date: 02/14/10
(PHP Community) Keywords: no keywords
Hello,
Is it possible to rank array_count_value()
in order of... count?
e.g.
$array = array(1,1,2,2,2,3);
array_count_value($array);
It would output, in this order: 2, 1, 3 because 2 has the highest frequency.
Thanks in advance!
SOLVED!
Source: http://php.livejournal.com/676928.html