I'm trying to generate an organization chart in PHP; the classic "box" above another "box" connected by lines. I have all the employees in my organization saved in the following database structure...repots_to_table
- recordId (int)
- staffId (int)
- reports_to (int)
- type (char(1))