Hello,
I am trying to control an unknown number of identical <input type=”file”> formfields in a file-upload form.
The quantity of file upload formfields is dynamically created and allocated.
I can work the file upload through proper PHP methods to identify:
$uploadfile
$uploadfile_name
$uploadfile_type
etc…
However, these values update only one record per form submit/iteration - I need to update multiple records with unique and indentifiable name values.
Assigning a record ID to each as an $uploadfile value doesn’t work. After recursing the form, I am unable access the $uploadfile by attaching a secondary value such as:
$uploadfile$recordID
$uploadfile$recordID_name
$uploadfile_$recordID_type
etc…
Is there a variable expansion method that will work for this?
Dan Troxell
YourSound.com
Presenting Independent Music to the World!
2000 Winner of Boston Magazine’s “Best Of Boston” for music websites!!