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.
How do I make menu
Moderator: General Moderators
Re: How do I make menu
Create a page where you have your menu: menu.php
Put this code where and on which page you want the menu:
Put this code where and on which page you want the menu:
Code: Select all
<?php include_once("menu.php"); ?>