Learn to Create PHP Includes for Your Website

Introduction

PHP, or Hypertext Preprocessor, is a general purpose server-side scripting language, designed for web development to produce dynamic web pages. PHP code is embedded into the HTML source document and interpreted by the web server, and then generates the HTML web page in your browser.


Why learn to create includes?

PHP Includes are like reusable puzzle pieces. You can create pieces such as a header, navigation, and footer; then edit them in one place where your changes will be applied to the whole site. PHP has many capabilities, here we will only explore creating includes with a dynamic headear and navigation. This is a beginner level tutorial of creating PHP includes for those comfortable with XHTML & CSS.


PHP puzzle