I have an array which contains a load of integers.
What I'd like to do is to echo how many of those integers in the array have the value "1", how many have the value "2", and so-on, up to "how many have the value "23" (echoing "0" for those that have no values at each point).
I'm experimenting with array_count_values but I'm getting nowhere! Can anyone help? 🙂