theEclipse
Programmer
Hello....
I am wondering what other peoples soloutions to this problem are, as I am going to have to come up with something....
:
I am scaning a directory and pulling out all the files from the directory. Then I am creating a form that has a table row for each file. For each file I have an 2 actions to perform and a description that will be entered for that file. (in essence I have 4 or 5 form fields for each file in the directory, which will have n files in it.)
As of right now, the script prints out the file number as a prefix to each form field. ex "0name" "0descript" ect.
The only solution that I can come up with is something like this:
a counter while loop that checks the post to see if "0name" is there....process the rest of the fields for that file, increment counter.....
Any other ideas?
Robert Carpenter
"You and I have need of the strongest spell that can be found to wake us from the evil enchantment of worldliness." - C.S. Lewis (The Weight of Glory)
robert (at) robertcarpenter (dot) net
I am wondering what other peoples soloutions to this problem are, as I am going to have to come up with something....
![[lol] [lol] [lol]](/data/assets/smilies/lol.gif)
I am scaning a directory and pulling out all the files from the directory. Then I am creating a form that has a table row for each file. For each file I have an 2 actions to perform and a description that will be entered for that file. (in essence I have 4 or 5 form fields for each file in the directory, which will have n files in it.)
As of right now, the script prints out the file number as a prefix to each form field. ex "0name" "0descript" ect.
The only solution that I can come up with is something like this:
a counter while loop that checks the post to see if "0name" is there....process the rest of the fields for that file, increment counter.....
Any other ideas?
Robert Carpenter
"You and I have need of the strongest spell that can be found to wake us from the evil enchantment of worldliness." - C.S. Lewis (The Weight of Glory)
robert (at) robertcarpenter (dot) net