|
This php "include" tag is one of the easiest of the php codes.
Here it is: <? php include('filename.php'); ?>
First of all, this can be used to make your site easier to manage. If you have alot of coding for your layout of your site, by putting the header, footer, and even the navigation on .php files (this "include" tag only works if the page is a .php) it makes editting easier.
Ok, if you don't know what the "include" tag does at all, I'll tell you. It is almost like a special little tag that tells the computer to add this .php page to the specific part where you put the tag.
So, if you have many pages on your site, just fill in and put the include tag in the area you want and whenever you want to edit a bit of the .php files that might contain navigation, footer, or header; all your pages with the include tag will also have the changes done.
Neat huh?
--------------------
 It's always the cute and fluffy things that are evil... always is...
|