PHP: count how many times a number appears in an array?

coivabrar

New Member
I'm running a loop basically that will make an array that contains a million numbers between 1 and 10, how do I iterate through it and count how many of each there are?Like: \[code\]1 - 201491 times 2 - 23091 times\[/code\]
 
Back
Top