Hello everyone--
I have an admin page that I am working on that is a top 25 list that needs to have a file uploaded for each item. I have a page setup that has the list of all the info displayed to be editable. I am having a problem with the multiple instances of the <input type=file> entities.
Each file input is named "upFile".$i where $i is the counter [1-25]. When I try to reference the $upFile.$i, PHP doesn't put the two together and it errors out. If I use $upFile1, $upFile2, ..etc I have no problems but that's just ugly! Arg.
Does anyone have any ideas on how to accomplish this with out explicitly typing each value out? At this point any ideas would be GREATLY appreciated. Thanks.
I have an admin page that I am working on that is a top 25 list that needs to have a file uploaded for each item. I have a page setup that has the list of all the info displayed to be editable. I am having a problem with the multiple instances of the <input type=file> entities.
Each file input is named "upFile".$i where $i is the counter [1-25]. When I try to reference the $upFile.$i, PHP doesn't put the two together and it errors out. If I use $upFile1, $upFile2, ..etc I have no problems but that's just ugly! Arg.
Does anyone have any ideas on how to accomplish this with out explicitly typing each value out? At this point any ideas would be GREATLY appreciated. Thanks.
Comment