I've seen this http://phpbuilder.com/board/showthread.php?t=10232764&highlight=nested+repeat and tried using the code, but I think I have the table structure wrong - only using 1 table for main and sub offices and 1 table for team leads and team members.
I want to display:
Main Office
...Sub Office
......Team Lead
..........Team Member
..........Team Member
..........Team Member
..........Team Member
..........Team Member
Main Office
...Sub Office
......Team Lead
..........Team Member
..........Team Member
..........Team Member
..........Team Member
..........Team Member
What would be the best approach for the table construction? 1 table with everything? 1 table for each element (total of 4)? If I build 4 tables, should they all share the same element of main_office?
After that, how do I get the nested repeat to work correctly?
Sorry, no code to show because I have not been able to get this even close to what I need. I have searched and read all the threads here by searching "nested" and "nested repeat" and even went to outside links that were posted. I have Googled "php nested repeat" and "php nested repeat 4 level" and read through tons of links.
:xbones: