Including Files (with PHP)
PHP Beginner: “Another thing we can do is ‘include’ files. This comes in handy when you have the same information on all your pages, over and over again. For example, connecting to the same database, printing the same HTML at the top or bottom of a page. It can be used for headers or footers, or for simplifying things.”
If you’ve been thinking about learning PHP, check out the PHP Beginner site. I wish it had been around when I was learning PHP.