Jump to content

Arrays in form


Recommended Posts

I am trying to make a file re-namer that will rename single/multiple files depending on how many checkboxes are checked.Anyways, I have it right now so that it gets the new file(s) name in an array, tested it with foreach and it works fine. My problem is whenever I am trying to send the old filename(s) in an array in the same form. I tried to have two foreach's, one inside of the other, didn't work. Don't know much about foreach's so I don't know if you can have one inside of the other (assuming not at this point). Anyways, what would be a good way to make it so I can send the old file name(s) through the form so that I can use it?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...