PHP Menu Question
Posted
by Vecta
on Stack Overflow
See other posts from Stack Overflow
or by Vecta
Published on 2010-03-29T19:16:45Z
Indexed on
2010/03/29
20:03 UTC
Read the original article
Hit count: 343
As one of the steps toward a greater website redesign I am putting the majority of the content of our website into html files to be used as includes. I am intending on passing a variable to the PHP template page through the URL to call the proper include.
Our website has many programs that each need an index page as well as about 5 sub-pages. These program pages will need a menu system to navigate between the different pages.I am naming the pages pagex_1, pagex_2, pagex_3, etc. where "pagex" is descriptive of the page content.
My question is, what would be the best way to handle this menu system? Is there a way to modify the initial variable used to arrive at the index page to create links in the menu to arrive at the other pages?
Thanks for any help!
© Stack Overflow or respective owner