I'm trying to find information on how to get a directory listing of all the files in a directory.
To be more specific. All files will be images. I want to display this lisiting in a List Menu. When a user selects an item from the list the corresponding image is displayed in a placeholder.
Something similar to the example here:
http://www.duo.ca/hello/dynamic/formvie ... cordid=178
Thanks in advance...much appreciated!
Directory Listing
Moderator: General Moderators
Start by printing the filenames to the screen, see examples here:
http://us2.php.net/manual/en/function.readdir.php
http://us2.php.net/manual/en/function.readdir.php