RE: [PHP] RE: Reaching the PHP mailing list owners

From: Date: Wed, 31 Oct 2007 17:12:01 +0000
Subject: RE: [PHP] RE: Reaching the PHP mailing list owners
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-263885@lists.php.net to get a copy of this message
[snip] Like - what is a 'header'? Everything prior to the <body> statement? I don't think that's what is meant... [/snip] A header/footer is a separate HTML/PHP page that is included with the page call; <?php include("header.html"); ....do stuff in the body.... include("footer.html"); ?> All you have to do is create the header and/or footer and include them with each page. Since the content is typically static in these included files they are cached and therefore loaded from cache each time they are called making things very quick. This is your very first step in creating reusable components for your web applications. You can see that this will become a very powerful tool/technique.

« previous php.general (#263885) next »