View Full Version : Template Expand?
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?
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?
*bump*
Any idea on how to do this Chen?
Admin
07-14-2002, 05:40 PM
I'll see what I can do.
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. :)
Thanks so much. This really helps me :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.