I'm having troubles sending a multidimentional array from my view to controller, actually I have this array:
$array_data[$i] = ['providers_id'=>$chosen_providers[$i],'buy_prices'=>$buy_prices[$i],'total'=>$total;
];
How can I send this to my controller?
I tried:
{{ Form::hidden('array_data[]',$array_data[$i]) }}
But I got htmlentities() expects parameter 1 to be string, array given error
Regards