Updates

October 18th:
New tutorial: Texture Use.
October 17th:
New section: Contact Tables.
October 16th:
New section: Textures.
1 new set of contact buttons.
October 15th:
4 new lyts.
October 6th:
2 new lyts.
September 27th:
1 new default lyt
September 23rd:
1 new div
September 22nd:
1 new div, finally!
September 19th:
1 new default lyt.
September 12th:
Revamped Lyts Pg.
New Borat and Pink Panther Lyts.
September 11th:
New support banner.

September 10th:
New site theme.

September 4th:
4 new lyts.
1 new default lyt.
September 3rd:
10 new default lyts.
September 2nd:
New section: Default Lyts.
August 27th:
2 new divs.
New section: contact buttons.

August 26th:
1 new div.
August 25th:
2 new 88x31 support buttons.
August 24th:
New section-PSP Scripts and 1 new tutorial on it.

August 22nd:
Topsites is up!

August 21st:
New theme/layout

August 19th:
4 new skateboarding lyts

August 18th:
Revamped Lyts page; 3 new skateboarding lyts

August 15th:
14 new codes

August 13th:
New div

August 5th:
6 psd's, 2 tutorials

August 3rd:
Revamped divs page, One new DIV.

August 1st:
new PHP INCLUDE tutorial!
August 1st: 3 new tutorials.

July 31st:
New website layout and stylesheet

SMASHIN.

Add our MYSPACE!
Support us!
Contact me!
About the owner!
Site Credits!

Shoutbox.


Affiliates.


SDtopsites! Deepincolor! Pained Exp. Simple Design! Peculiar! ahintoflemon! Atomic Affliction! Crazified. Deadbolt! ScriptedChains! startTOcope! xTina!
View all--Apply!

STATS.

Online Now: !
Views:
Started: April 8th, 2007




eXTReMe Tracker

PHP Includes!


Alright, PHP Includes make handling your website soooo much easier.
Ex:
You have a bunch of pages filled with content.
Someone applies for affiliation or you add a new section.
That means you have to go through every page and add one measly affiliate or section. =[
Well doesn't that suck.
Thats when PHP Includes comes to the rescue.


Okay, so first you'll need to make a header.php file.
The header file is where you will put your title, sidebar, stylesheet, and whatever else that would ever need updating.
Not the main content (such as your about the owner, etc.)
This is what my header file looks like.



Then save it like this on Notepad.
Make sure you save it as All files.

Now time to make the footer.php file.
All you have to do is open up a new document on Notepad and put this code in.

Then save it as footer.php

Now you have to go through every page you've made and rename the file extension to .php instead of .html
Now take off all the stuff you put in your header file off of all your pages except header.php and footer.php while renaming the file extension to .php


Now you'll need to add this code above your main content, but make sure its
Above < div id = "whateveryounamedthis" >
<?php include('header.php'); ?>

Then put this code after your main content, but make sure its Below '< / div >'
<?php include('footer.php'); ?>


If you need an example, this is what my "about the owner" page looks like.