General discussions related to php
4 posts • Page 1 of 1
I am very new to php. I would like to create several php files that I can use for the menus at the top and bottom of each page of my website. http://zepfanman.com/ledlyrso.html is one of these pages where you can see how I have it set up. What would be a fairly simply way to create a separate file that all my Zeppelin pages could "require"? This way, I could change the separate file if I have a new menu item and I wouldn't have to change every menu in each Zeppelin page. The tricky part is that I want the current page to NOT show up as a link (at the bottom of the page) and to be in the title bar on the top instead of with the other menu items - would I use some sort of IF statement? Let me know if you need further clarification. Thanks in advance!
I understand how includes and requires work. I am asking how I should set up this dynamic menu - how I should set up the variables, etc.
Who is online
Users browsing this forum: No registered users and 3 guests