I am trying to do a picture gallery like this.
I have 1 <input type=file name=file> inside a form tag.
I have 8 <td>s below where 8 images can be shown up with a delete button for 8 images.That means the user can upload upto 8 imgs one by one via that single input file.Now lets say I have selected 1 image and that image will be displayed on 1st box.....next select 2nd image and that image will also be shown up in the 2nd box.....Now I have delete button below every box...so if i want then i can delete any image before upload.
First I would like to know
1.is it possible to upload more than one image via single input(one by one)...if so then i think i have to keep the filenames in a array.
2.if the selected filenames are in array then how could i post that array via form (I am using php as a serverside language)
Please direct me in a right direction so that it works.......thanks all of you for your earnest contribution in advance.