Page 1 of 1

How do I make menu

Posted: Wed Oct 29, 2008 6:28 am
by Hillu
Hi, I have a website which contains 10 pages. I'm using HTML,JavaScript and PHP. I want to define the menu and the logo once and have it in all the pages. How do I do that?

Thanks.

Re: How do I make menu

Posted: Wed Oct 29, 2008 6:30 am
by papa
Create a page where you have your menu: menu.php

Put this code where and on which page you want the menu:

Code: Select all

<?php include_once("menu.php"); ?>