Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2004-06-25, 11:06 PM   #6
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
PHP seems the simplest way. Construct your html pages as you normally would but name each one whatever.php instead of whatever.html. On each php page, you'll place an include tag on top for your header like this:
<?php
include("header.html");
?>
At the bottom, where you want your footer to be, you'll place this:
<?php
include("footer.html");
?>
Obviously, you'll need to build your header.html and footer.html pages.

So, whatever.php could look something like this:
<?php
include("header.html");
?>
<table><tr><td>All the wacky porn shit you want on your page.
</td></td></table>
<?php
include("footer.html");
?>

Play with this a bit and you will get hooked on it. You'll find yourself building pages that are almost all include tags, pulling in info from other php and html source pages. As long as you use the .php extension you can use the php include tags. Otherwise, it can all be html code.
Keep in mind, you have to test these php pages online, unless you have PHP on your home system.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:22 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc