The way you generate the form should be ok. Form model is not an option for a form related to 100 records. To update you need to iterate the array and execute a query for each element on it.
foreach(Input::get("change") as $id=>$value){
DB::table("change")->where("id", "=", $id)->update(["change"=>$value]);
/* or if Change model exists
Change::find($id)->update(["change"=>$value]);
*/
}
Thank you longilino. After I read your response, I felt like an idiot. I was actually under thinking the issue.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community