Ok, here is my problem. I have a loop that looks through several folders and then looks in each of those folders to return the names of the subfolders.
I have the first foreach working fine. It will return the names of the folders however I can't figure out how to have it open each of the folders and place the folders in that folder into a string.
Ex. folder structure
Theme1
Sub-Theme1
Sub-Theme1.2
Theme2
Sub-Theme2
Theme3
Sub-Theme3
Sub-Theme3.2
What I'd like to do is display like this on my webpage:
Theme1 - Sub-Theme1, SubTheme1.2
Theme2 - Sub-Theme2
Theme3 - Sut... You get the picture.
---------------------------------------
- Free General Web Directory, Free Web site submissions.
- Free General Web Directory, Free Web site submissions.
I have the first foreach working fine. It will return the names of the folders however I can't figure out how to have it open each of the folders and place the folders in that folder into a string.
Ex. folder structure
Theme1
Sub-Theme1
Sub-Theme1.2
Theme2
Sub-Theme2
Theme3
Sub-Theme3
Sub-Theme3.2
What I'd like to do is display like this on my webpage:
Theme1 - Sub-Theme1, SubTheme1.2
Theme2 - Sub-Theme2
Theme3 - Sut... You get the picture.
---------------------------------------
- Free General Web Directory, Free Web site submissions.
- Free General Web Directory, Free Web site submissions.