Multe Data na temat bazy danych Laravela
$data = $request->all();
$finalArray = array();
foreach($data as $key=>$value){
array_push($finalArray, array(
'fltno'=>$value['sflt'],
'model'=>$value['smodel'],
'engine'=>$value['sengine'],
'loc'=>$value['sloc'],
'serviceType'=>$value['sstye'],
'nextSvr'=> $value['snsvr'] )
);
});
Model::insert($finalArray);
SAMER SAEID