I need an array_keys_recursive()

Dtqstdreqhkgj

New Member
\[code\]$temp = array();function show_keys($ar){ foreach ($ar as $k => $v ) { $temp[] = $k; if (is_array($ar[$k])) { show_keys ($ar[$k]); } } return $temp;}\[/code\]I tried using that function but it still only returns the first key.
 
Back
Top