View Full Version : File and Folder List help

Lee Stevens
03-08-2008, 11:52 AM
Hi, i'm trying to get user's folder and files from a MySQL database. I no i can do both but, i'm not sure how to show all at once folders at the top then files without a folder under that. But if a folder was clicked it would show the files in that folder before the next folder displays.


Folder 1
Folder 2
- Folder 2 Content
Folder 3
Folder 4
- Non-folderd content

But like i said only display the content if its been clicked :P

Thank you anyones help would be great!

03-08-2008, 01:14 PM

Like that?

Lee Stevens
03-08-2008, 01:16 PM
Erm, yeah :P But prefer not to use Javascript if i can.