I'm creating a php/mysql site template. I need the template to recognize the 1st and 2nd level directories so that it knows which submenu to pull from the db as well as which submenu option to highlight.
For example, if the page is located at domain.com/about/vision, it will need to get the about submenu from the db and highlight the vision menu item.
Any help you can provide is much appreciated!
page needs to read directory structure
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users