Home >> PHP - MySQL Creasting Dynamic Web Sites 3.1 [Page 1] Article by: Shelton Manage Tuesday, 09th June, 2009
It's time to begigin truly dynamic Web sites. Dynamic Web sites, are easier to maintain, are responsive to users, and can alter their apearence based upon differing situtions.
Using External Files
PHP has four functions for using external files: include(), include_once(), requre() and requre_once(). To use them, your PHP scripts wpluld have line like: include_once("fiename.php"); requre_once('/path/to/filename.html');
To Use External Files
To start, I'll dedign an HTML layout for my application, independed of any PHP code. The section of the layout that will change from page to page is marked by the word in many forms.
template.txt | index.phps
template.html | header.inc | footer.inc | index.php
Page: First - 1 2 3 4 - Last
|
|