php - How do you make an infinite dynamic menu system? -


i have wiki-type app administrator can create pages. each page must put menu system, created on-the-fly administrator

menu heading l subheading   l page1 

however, there may more pages menu such as:

menu heading l subheading   l page1   l new subheading     l page2 

the menu must easy modify , there must way order headings/subheadings pages inside.

so basically, entirely dynamic menu need no static data of kind.

i've got current method works except unable control page order. if dont many responses how go it, put current way of doing things (i don't want put ideas head, i'm looking fresh approach)

thanks

edit: thank responses, however, think situation bit more complex can put words right now. let me think of better way ask question... i'll repost next week

well use hierarchical schema, add sort order each item , that's it.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -