the database schema is fine, in detail i have two tables ....
menu_directories
parent_menu_directory_id
live
directory
menu_directory_id
menu_entries
menu_directory_id
live
entry
link
internal
menu_entry_id
question is how do you do the php scripting to construct these menus given
that the javascript that generates the menu is modularised and can form any menu structure desired
so what i am asking in broad terms is what is the approach that moves you towards a solutions , what we can't do at present is have a while for each subdirectory because the number of subdirectories is not predifined and if it was the degree of while nesting would also need to be scripted
the approach i am considering involves walking the directory structure in a manner reflecting how the menu is created although it is not clear to me at the moment how to convert this approach into an algorithm that i can them script
any insights would be kindly appreciated
paul