alireza mm alireza mm - 1 year ago 72
PHP Question

How I can count second dimension in multi-dimensional array?

I have an array:


I need to count the numbers of element that they are located in the second box.

Answer Source

you should count this with foreach statement

foreach($array as $counting)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download