PDA

View Full Version : Template Expand?


Neo
07-12-2002, 11:13 PM
I want to in the same way use the expand option that the templates use but I cant figure out how it works. Can anyone give me a insight as to how it might work with a while function?

Admin
07-13-2002, 07:01 AM
Where do you want to use it?

Neo
07-13-2002, 03:39 PM
I want to make a duplicate of it but with using something like this.


while($file = readdir($dp)) {
echo "$file<br>";
}

Admin
07-13-2002, 03:57 PM
You want to list dirs and let the user expand them?

Neo
07-13-2002, 07:13 PM
That would be the idea.

Neo
07-14-2002, 05:28 PM
*bump*

Any idea on how to do this Chen?

Admin
07-14-2002, 05:40 PM
I'll see what I can do.

Neo
07-14-2002, 06:22 PM
That would be really great of you :)

Admin
07-14-2002, 06:35 PM
Hope you like... not based on vBulletin's code, but gets the job done.

Admin
07-14-2002, 06:48 PM
It's recursive BTW, so you can get it to do this. :)

Neo
07-15-2002, 05:08 PM
Thanks so much. This really helps me :D