martyng Posted November 25, 2004 Share Posted November 25, 2004 Hi I don't have the code i made and tried with me as i'm on my works computer at the moment, but i'm trying to read the contents of a directory, and identify subdirectories of it, then list these subdirectories in a drop down list on a form the user submits. Currently I do this by the user tapping in the subdirectory name but i feel this leaves too much room for error. Can anybody give me a hint? or a link to something similar, assuming: $mydir = "/home/users/d/myfolder/" Thanks Quote Link to comment https://forums.phpfreaks.com/topic/2065-drop-down-list-from-directory-list/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.