Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Aug 2006
    Location
    UK, London, Dartford
    Posts
    221
    Thanks
    3
    Thanked 14 Times in 14 Posts

    File and Folder List help

    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.

    Example
    Code:
    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!

  • #2
    Regular Coder
    Join Date
    Feb 2007
    Location
    Canada
    Posts
    924
    Thanks
    10
    Thanked 56 Times in 55 Posts

  • #3
    Regular Coder
    Join Date
    Aug 2006
    Location
    UK, London, Dartford
    Posts
    221
    Thanks
    3
    Thanked 14 Times in 14 Posts
    Erm, yeah :P But prefer not to use Javascript if i can.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •