I am having problem of getting value from input file from my html. The name of the input file is an array. It's work fine if I want to get value of the input file just the normal name.
HTML:
<input type="file" name="collateral_photo[]" id="collateral_photo" class="default" />
PHP:
$file = Request::file('collateral_photo');
return $file;
The value return is empty. What I want is to get value from input file as array. Please tell how to do that. I'm newbie to Laravel 5. Many thanks.