You could create a file called menu.txt and in there place the code you want your menu to have.
Example:
Code:
<div id="menu">
<a href="test.php">This is a test link</a>
</div>
Then on all the pages you want the menu to appear, place this code:
Code:
<?php
include('menu.txt');
?>
That will include the contents (in this case, the source code for your menu) in the php document you place the above code in. So, if you have a file like this:
example.php (from the body tag):
Code:
<body>
<?php include('menu.txt'); ?>
</body>
Then this will be outputted to the browser:
Code:
<body>
<div id="menu">
<a href="test.php">This is a test link</a>
</div>
</body>
Hope this helps.
Bookmarks