Just wondering why I can't get value of array name from input type file.
HTML:
<input type="file" name="collateral_photo[]" id="collateral_photo" class="default"/>
The name of this input file is an array.
PHP Laravel
return Request::file('collateral_photo');
The return result is [{}]
What I want right now just how to get value from this input file with array name.
Please, please help me out.
Thank you very much for any help.
enctype="multipart/form-data"to your form.