Skip to content
Advertisement

Multiple form submit in Laravel

Good day everyone,

I have a form with multiple inputs in it and I want to pass it onto the database on submit.

Here’s what my blade.php looks like:

enter image description here

on code:

Here’s my attempt to find a solution:

on my controller:

I’m having the following errors:

ErrorException Array to string conversion

and when adding an image

call to a member function move() on null

I want to save them as

enter image description here

Advertisement

Answer

I have managed to get the following to work by doing the following:

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement