08-02-2002, 12:18 PM
how do i write a list of folders within a certain folder
| ---- Folder 1
| ---- Folder 2
but ofcourse it has to be put in a certain way in tables.
How do i do this?
(i dont think i explained it well ... its a bit confuzing to read)
08-02-2002, 07:43 PM
are you talking about listing the folders? (on your server's hard drive ??)
08-03-2002, 12:07 AM
Let me show you an example:
I have a folder called IMAGES, and within that folder are many other folders (eg: Fashion, Entertainment, Houses) etc.
I want to write a script that will open the directory IMAGES, then open all the sub directories within the folder IMAGES and retrieve the first file (in alphabetical order). I have been trying for ages but the closest i could get is showing one image that the query string specifies.
08-03-2002, 12:51 AM
this should do exactly what you want
08-03-2002, 07:48 AM
I posted something like this before,
This is a really nice code for that...
Here is an example of what it looks like:
All you have to do is move all of the images into a folder called icons.
If you have trouble with it let me know....