Posts: 550
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
The concept of PHP includes is very easy to learn. The paths work exactly the same way they do in HTML, and the include files can be pure HTML, or HTML with PHP. In order to use PHP, however, the file you are writing code in must have a .php extension, not .html. This will not only be very convenient, as you will be able to affect changes on a broad spectrum of your site (such as headers, footers, or navigation), but dynamic sites like this operate much faster, because the PHP is cached by the server, reducing the amount of time the server must work reading form hard disks to generate HTML.
|