The key of the associative array is dynamically generated. How do I get the \"Key\" of such an array?
$arr = array (\'dynamic_key\' => \'Value\');
$keys = array_keys($arr); echo $keys[0];
Or use array_values() for the value.
array_values()