Hi,
I'm using a multi dimensional array in php, I would like to know how to get the "field name" of the value I'm returning in my foreach loop.
$_SESSION['filter']['dateCreation'] = 'ASC';
$_SESSION['filter']['client'] = 'test';
print_r($_SESSION['filter']);
foreach ($_SESSION['filter'] as $filter)
{
// how do I echo the name of the field here? Eg. dateCreation
echo $filter;
}