Rasmus Lerdorf wrote:
array_count_values()
Bagus Nugroho wrote:
Hi Master,
not sure what Bagus was intending with 'Master',
regardless, the reply made me smile...
:-)
I have an array as :
$myArray = array('four','four','four','four','one,,'three','three','three','two','two');
--
PH
array_count_values()
Bagus Nugroho wrote:
> Hi Master,
>
> I have an array as :
> $myArray =
> array('four','four','four','four','one,,'three','three','three','two','two');
>
> Then I want output like this,
> //==
> four is 4 times
> three is 3 times
> two is 2 times
> one is 1 times /
2 matches
Mail list logo