Use the array_keys() function to return an indexed array containing all the keys in an associative array. code example
Example: php take out 2 level array key value
foreach($bigArray as $array){
foreach($array as $key=>$value){
echo $key;
}
}
#If if helps you give it Thumbs up