I have a multiple file input which I'm able to select multiple files but when I var_dump the file variable on the form action page there's only ever one file.
<input id="image" type="file" name="images" multiple="multiple">
Here's the dump var_dump($_FILES);
array(1) { ["images"]=> array(5) { ["name"]=> string(12) "IMG_4511.JPG" ["type"]=> string(10) "image/jpeg" ["tmp_name"]=> string(26) "/private/var/tmp/php8g7CV3" ["error"]=> int(0) ["size"]=> int(730250) } }
Here's the opening form tag:
<form enctype="multipart/form-data" method="POST" action="http://localhost.com/item/update" accept-charset="UTF-8">
Is there anything I'm missing here?