php - Table structure for menus in mySQL -
I want advice for table structure.
I need to dynamically create menus.
There will be more than 3 menu.
Some menus will have multi-level structures.
What is the best way to clarify menu tables?
- All the menus are in a table
- Each table should have a table
- any other ??
Please kindly contact for the dynamically generated menu for your experience or general behavior.
Believing your menu tree is not very big, the so-called adjacent list will be the simplest option
Comments
Post a Comment