I have this array:
<?php
$arr = array('submitted',
'region' => array('value 1','value2','value3'),
'sended',
'something' => array('value','value'));
?>
The question is how to check if an element is an array and print the corresponding key.
The output should be:
region something