
July 11th, 2007, 19:19 PM
|
| Administrator
Join Date: Jun 2007
Posts: 3,709
BRL$: 42,924.95 Thanks: 0
Thanked 14 Times in 10 Posts
Rep Power: 409 | | how to get dir names of all dir ina a specified folder... ok, this may sound a little it confusing but im hoping someone can help me. ok, i want this for a simple little feature for a admin panel. so they can switch between themes... ok i want to eventually get a dropdown box with the style/theme names and when selectd one... submit it saves that to a db etc... ok i have the db done (at the moment if i want to change style i do so through PMA) so i need to know how i can get dir names.and im guessing i would have to use a loop.to insert the name into the fields so i would need soemthing like this i guess PHP:--------- while($dirname){echo ''.$dirname.'' /n;}--------- the above was basically a bit of a guess, i avent really used loopsbefore becaus ei havent needed to. but i need to know how to get the dir names? and how to do this. please help! - TP for who ever does (i think my power is something like 19+....)ThanksDan. To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. █ Jobs In !!! - Post Jobs, Hire Employees, Create Blogs and
Earn Money. | | | |