Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years ago.
0

Does anyone have any experience with this? Could you point me in a direction where I could find a tutorial?

Last updated 2 years ago.
0

I'm not sure that this is what I'm asking for help with. I should have been more specific and included what I have now.

I've got a form like:

<form method="post" action="{{ URL::route('save') }}">

@foreach($rows as $row)

       <input type="text" name="field1" value="{{ $row->field1 }}">
       <input type="text" name="field2" value="{{ $row->field2 }}">

@endforeach

<button type="submit" name="submit">Save</button>

{{ Form::token() }}

</form>

When the user clicks save, it will update all of the returned rows.

(DISCLAIMER: I don't like FormBuilder and therefore didn't use it in this example. I prefer raw HTML.)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

jerauf jerauf Joined 16 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.