I have the following Array in PHP:
array(4) {
["moduleName"]=> string(8) "Products"
["id"]=> string(6) "14x937"
["user"]=> object(Users)#523 (99) {}
["data"]=> array(40) {}
}
I try to go through it in all possible ways, like:
foreach ($Arraytotal as $key => $value) {
echo $key.'-'.$value.'<br>';
var_dump($key);
}
But I only get the data until the second component of the array, the data I need is in Arraytotal ['data'], I do not know how to get there.
Thank you.