I would like to get the dropdown selected value after submitting the form.
If I run a dd($_REQUEST); I can find the submitted value into an array :
"ordersdetail-productnameID" => array:1 [▼ 0 => "1" ]
I tried may variantes to get to my value from the array but without success :
$productnameID = array(
'ordersdetail-productnameID' => $input['productnameID']); or
$productnameID = $request->input('orders_detail.0.productnameID ');
Would appreciate some expertise.
Thanks, Cheers, Marc
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire