I have the following array
$_POST[0][name]
$_POST[0][type]
$_POST[0][planet]
...
$_POST[1][name]
$_POST[1][type]
$_POST[1][planet]
Now i want to count all the $_POST[x][type]. How to do that?
(If i would reverse the multidimensional array, it would work i guess like this:)
$count = count($_POST['type']);
how can i count the "type" in the original structure?