I have the following multi dimension array and I am not able to do a foreach loop (with laravel). I want to show the name. Any idea how to loop trough that array to show just the name? I reduced the showed array -> ...
I want to loop trough that array not in a view but in a controller because i want to create a database entry for every client
array:1 [▼
"client" => array:52 [▼
0 => array:11 [▼
"name" => "Company One"
...
]
1 => array:11 [▼
"name" => "Company 2"
...
]
Thanks for your help.
.blade.phpview where you@foreach?