I'm hoping someone can help.
I have values in an array.. Let's say
$array = ("BMW", "BMW", "BMW", "AUDI", "AUDI", "FORD", "FORD", "FORD");
So I want to count the values. I can do that using array_count_values ($array);
This creates another array containing BMW => 3, AUDI => 2, FORD => 3
So what I want to do now is move BMW & FORD into another array because they occurred three times and leave AUDI behind.
Any ideas?
Many thanks in advance!