TOP TECH
  Learn How to.....
Welcome IT Related Articles Member Area  |  Sign In  |  Sign Up
.: Home :.
General
HTML
CSS
PHP
PHP-MySQL
FrontPage
Photoshop
CorelDRAW
PageMaker
MS Office
VisualBasic
All
.

.: Home :.

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

 



Comments


© 2009 Top Sri Lanka Top Tech.
Articles Manager β - Script by: DynamicCodes.com