I am trying to create a pulldown menu based on the contents of a directory. Is there any way for PHP to read a directory and create the menu based on the files in that directory. It should create this menu dynamically each time the page is viewed, so if a file is deleted from that directory, it doesn't show up in the pulldown menu, if one is added, it shows up. So if the directory has two files in it, 1-2-2002.txt and 3-5-2002.txt, it will add these entries to the <select> menu:
<option value="1-2-2002.txt">1-2-2002</option> <option value="3-5-2002.txt">3-5-2002</option> TIA John __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php