I have an array defined:
$flatdata["body_font-family"] = "Arial";
I want to use that array value in a function:
function display_name($input) {
showmethekeyofthearrayvalue($input); // how can I get the key name here?
}
echo display_name($flatdata["body_font-family"]);
So that the output is:
body_font-family