0
Frequency of each element of an array ...
please help me to code finding frequency of each elements from an array in PHP..
4 Answers
+ 3
Alright, let's see your code then, post your code link here, I can't help you any further without any code : )
+ 2
Use array_count_values() function:
http://php.net/manual/en/function.array-count-values.php
+ 2
Alright then, I posted that suggestion because I didn't know you wanted to do it without built-in functions, you didn't say it in the beginning, anyways, good job, and you're welcome : )
+ 1
I wanted to do it without using inbuilt functions... and I did it here's the code...thank you..
https://code.sololearn.com/w7ovwQfV9oKh/?ref=app