OrganizedChaos
MIS
So lets say I have an array
$array=array(1,2,3,4,5,6,7,8,9,10,4,5,6,4);
I want an output of each number and how many times it appears in the array..
for example this would be great
4 - 3 times
5 - 2 times
6 - 2 times
1- 1 time
etc....
Is there any built in function to do this?
Thanks,
Mike
$array=array(1,2,3,4,5,6,7,8,9,10,4,5,6,4);
I want an output of each number and how many times it appears in the array..
for example this would be great
4 - 3 times
5 - 2 times
6 - 2 times
1- 1 time
etc....
Is there any built in function to do this?
Thanks,
Mike