I have a starting base and I had the idea of using an array name similar to the checkboxes where you would use checkbox and let it repeat through a for loop, in this case file. But when I go to access it via $_FILES'] it errors. I think there is something wrong with my logic as it is looking wrong but I feel it should work
Theres way too much code to copy n paste so I will try break it up best I can, code:
now a whole bunch of code access variables and databases then
$file = $_FILES['file']['name'];
again a whole bunch of code
<input type="file" id="file" name="file">
<input type="submit" id="submit" name="submit" value="UPLOAD">
Thats the nuts of my code im trying to get working. (This works)
But im trying to make the type="file" an array id/name so its like id="file" name="file".
Then call it again at $_FILES']; using a for loop using 'index'.
Anyways no luck ill try again in the morning, any ideas?