How to count more than one items in array_column?

Posted by Pinki | Updated on

Questions:
How to count more than one items in array_column?
How do you count items in two arrays?

Answer:

array_map() can be fed multiple arrays to work with. The first array "irl_today_social" elements are referenced by $x, the second "irl_today_website" by $y in this case.

Output


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers