lundi 28 janvier 2019

How to pass Multiple Image in form and catch in controller?

I have input tag in my form that get multiple image, but when I post form to my controller only last image passed.

this is my form

<form class="floating-labels m-t-40" method="post" action="" enctype="multipart/form-data">
<input type="file" name="other_file[]" id="images" multiple="multiple"/>
</form>

when I dd($request) in my controller only show last image.



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2B55PWk
via IFTTT

Aucun commentaire:

Enregistrer un commentaire