This is the situation: i have 4 folders, and inside each a bunch of files.
I am working on files operations in Php. I would like, to create a dynamic form where, once is selected the folder, to fill up another dropdown list with the list of the files that are inside that folder.
This is the first part of the form, where the user can choose a folder:
<select name="origin">
<option value="folder">Folder</option>
<option value="folder2">Folder2</option>
<option value="folder3">Folder3</option>
<option value="folder4">Folder4</option>
</select>
How can i create the other dropdown list?
Thank you very much!