Create a dynamic website with PHP
Difficulty: Beginner ● Progress: 0 / 0 modules completed
Include files
File inclusion is very useful when you want to include:
- repetitive chunks of HTML
- PHP logic used by several parts of the site
File inclusion lets you save a lot of work time.
This means you can create a menu and a footer and include them in all your web pages. Then, as soon as the menu needs to be updated, you'll only have to edit a single file!

You need a free account to read this module