I need to loop through a post array and sumbit it.
#stuff 1
I have adapted the accepted answer and converted it into a function that can do nth arrays and to include the keys of the array.
function LoopThrough($array) {
foreach($array as $key => $val) {
if (is_array($key))
LoopThrough($key);
else
echo "{$key} - {$val}
";
}
}
LoopThrough($_POST);
Hope it helps someone.