Hi!
I've got a list of 10 pictures for a client gallery.
I want my client to be able to change one of these pictures at a time so i create a page that show the picture with an upload filed.
So, on my page, i've got 10 x (1 pic + 1 upload field)
the upload Field are name like this :
pic 01 -> field name="upload01"
pic 02 -> field name="upload02"
...
pic 10 -> field name="upload10"
My problem is that, when my client hit on submit, i can't figure out how to detect which upload Field my client update ...
When i got just one upload field it's ok cause i just have to do this :
$File = $_FILES['fieldName']['tmp_name'] ;
but how can i do when i don't know what will be the fieldName ???
Help please 🙂