Forums / Developer / Listing grandchildren in a table

Listing grandchildren in a table

Author Message

Glenn MacGregor

Tuesday 18 November 2003 12:40:50 pm

Hello,

So here is my situation. I have a folder (Support) which contains 2 folders (Technical support and Downloads). Each of those folders contains more folders.

When I browse the Support folder I want to have a 2 column table with the children as the headings of each column and the grandchildren below them.

Example:

Technical support | Downloads
TFolder 1 | DFolder 1
TFolder 2 | DFolder 2
TFolder 3 | DFolder 3
TFolder 4 |

(Note: the '|' just denotes the columns)

I figured out how to get all the grandchildren for each child the problem is how do I output it correctly. Meaning I need to output the first entry for Technical support then the first entry for Downloads. Then I need to output the second entry form technical support and the second entry from Downloads and so on.

Is that at all possible?

Thanks!!

Maybe a multidimensional array?

Glenn MacGregor

Wednesday 19 November 2003 4:54:21 am

Hi again,

Could not figure out how to accomplish this using HTML tables so I went with the HTML div's instead. Seems to work fine in all browsers.