How to use dynamic generated upload control in php

Status
Not open for further replies.

krishnandu

Inactive
Galvanizer
Hi friends, I'm using javascript in the front end to dynamically generate file upload control. I mean there is one file upload control. Now there is a link called "Add More" beside it. Now whenever the user clicks that link dynamically another file upload control gets generated.

Now my questions are:

1. How to get the values of all the upload control and distinct them??

2. How would I know how many controls user have generated??

3. How would I make the database in MySQL?? I mean as I don't know how many of that control user would generate, so in what basis I'll make my table. I need to store the file names in rows. So how many rows will I make if I don't know how many of that control will the user generate.

Hey guys.......I got it....!!

Just used print_r($_POST) to see how the values are stored. :)
 
Status
Not open for further replies.