PHP recursive directory menu
问题 I think similar questions have been asked before, but I can't quite wrap my head around whether what I want to do is logicaly possible. I currently use DDSmoothMenu on our intranet to list documents that we have for all staff to access. Menu structure would be something like: Documents -> Finance -> Forms -> File 1 -> File 2 -> File 3 -> Informational -> File 1 -> File 2 -> Insurance -> File 1 -> File 2 The basic structure of the menu is below: <ul> <li><a href='#'>Sub Menu Name</a> <ul> <li>