thank-you... I've looked around at these and though the are a few examples of code demonstrating how to recursively read and print the files in a directory tree - in some cases visually preserving the organization of the tree - I could not find an example where the presented information is dynamic so that when the user click's on a "closed" directory, it "opens" so that parallel files and directories adjacent to the open directory are pushed down the list to make room for an indented list that represents the contents of the "open" directory.
Is this too ambitious for php?
I'm currently trying to do this by assigning the directory-to-be-opened name in an href="pageinquestion.php?dirname" statement. This tries to reload the same page but with a new directory to be listed so that the user has effectively descended to the new list (and the page looks the same!). But I can't get it to work!
This is probably an odd and incorrect way to recursively combine php and html, but as a beginner, this is the only way I could figure out how to do what I'm trying!
I'm I all wrong here? whats a better way to do this? I'll try to clean up my code and post it...