is it possible to


#1

I was wondering if it is possible with php (or anything else but rather php) to somehow create a menu list that you want to appear on every page, and make it so if u want to add another link onto the menu u cuold do so without having to go through every single page and alter it?

for example, i currently have a page with a table and the left column is my menu list, At the moment i have just got a template and am saving every page as something… But then if i wanted to add or delete a link from the menu list, i have to go to every single page and change it. Is there some other way to do this?
thanks…


#2

Create your menu in a single file. Call it something.php.

Then on your other pages, just add an include where you want the menu to appear:

<?php @include('something.php'); ?>