mercredi 2 décembre 2015

How to get multiple rows data of the form in controller in laravel 5.1

I have to show/edit a form in my page. I'm fetching all rows from table and showing in table format which is editable. Once the table is edited. I want all those rows to update in database using controller, however I dont know how to get all form rows through request object in laravel 5.1.

$records = $request->all();

As request object giving only last row of the form. Any suggestion?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire