If you have worked through the projects so far, you will have experienced the tedium of modifying the menus in every page of a website. Imagine the work involved in modifying the menus in each page of a website with 20 or more pages. In this chapter you will learn a simple piece of code that will enable you to modify all the page menus in a website by amending only one file.
This chapter contains the following sections:
The time-saving code
A note about PHP code
Using a server
Download and install XAMPP for Windows
Using the PHP include command
Create the external files
Summary