I have a form to allow users to upload pics. I found a really nice way to preview them first,
If I look down in the console, an array of images seem to be created.
But then if I submit the form, I get
., I use
echo "FILES[]<br>";
foreach($_FILES as $file)
{
echo $file['name'] . "<br>";
echo $file['type'] . "<br>";
echo $file['size'] . "<br>";
echo $file['error'] . "<br>";
}
```
to see if I am getting all the images.
Why am, I only getting 1?