ah, levels, you just gave me a couple really good ideas.
What my database looks like is I have 1 table, Groups, and I have a couple columns in it for instance GroupID, GroupParentID
Group ID being the autonumber value of that group.
Group Parent ID being the GroupID of the parent group.
For Example:
(GroupID)(Name)(GroupParentID)
1 root 0
- 2 sub 1
- - 3 sub 2
- 4 sub 1
That'll kinda give you the idea.
The problem is I want to loop through the groups and loop through the subs. That is where I am running into trouble.
I can't figure out a way to loop through my groups and display sub groups and their sub groups and their sub groups etc...