Posts by Paulo Sanda • 1 point
2 posts
-
0
votes1
answer46
viewsA: Laravel - loading data into an array when performing loop querys
The solution was as follows: After each query I loaded the Array this way $mot_cham = array( 'motorista_id' => $motoristas[$c]['id'], 'motorista_nome' => $motoristas[$c]['nome'],…
-
-1
votes1
answer46
viewsQ: Laravel - loading data into an array when performing loop querys
I’m performing querys in a loop on a controller and need to go loading the information in a array to then send to a view and print. Turns out I don’t know how to input the data as follows…