© Adrian W. West 2016

Adrian W. West, Practical Web Design for Absolute Beginners, 10.1007/978-1-4842-1993-5_22

22. More on Using PHP include

Adrian W. West

(1)Colyton, UK

The previous chapter explained the advantages of using the PHP include command . In this chapter the considerable advantages will be demonstrated in greater detail. In Chapter 21 we only used the include commands in the home page index.php. In this chapter we will create new pages and use the include commands in every page of an eight-page website. All the new pages will be adaptations of existing pages.

This chapter contains the following sections:

  • Using the PHP include command

  • Change the external footer file (footer.html)

  • Make copies of existing pages to create new pages

  • Create ...

Get Practical Web Design for Absolute Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.