I need to have access to a array which looks like this.
Array
(
[0] => Array
(
[54] => Array
(
[test] => 54
[tester] => result
)
)
)
foreach($array as $key=>$value)
{
echo $key;// prints 0
echo $value;// prints Array
/*
now i can iterate through $value but i dont want it solve that way example:
foreach($value as $k=>$v)
{
echo $k;//prints test
echo $v; //prints 54
}
*/
}
How can iterate just once ? to get the values of test and tester? I hope i could explain my problem clear