0

I have this field:

<input name="thumbnail" type="file" id="fileElem" multiple="multiple" accept="image/*" onchange="handleFiles(this.files)">

Why when I var_dump $_FILES['thumbnail'] i have only one image in array:

array(5) { ["name"]=> string(14) "2020-03-23.png" ["type"]=> string(9) "image/png" ["tmp_name"]=> string(34) "/usr/multiphp/php7.3/tmp/phpX5uyG2" ["error"]=> int(0) ["size"]=> int(620367) }

Please help me with this

Mariusz
  • 55
  • 1
  • 5

0 Answers0