Well, I'm trying to convert my website to PHP, but for some reason it isn't working...it's just showing the content, so I guess the code for linking to the PHP file isn't right, but I copied it directly from a tutorial and I did name my files header.php and footer.php.
Here are the codes:
index.php
Code:
<?php include('header.php'); ?>
<center><h1>Between the Rain Drops</h1></center></td></tr><tr><td>Welcome to <b>Between the Rain Drops</b>! Here you will find some of my graphics and art, but you will find things that you may use as well. You may use the goodies (tutorials, brushes, textures, and photography [coming soon]) though a link back would be appreciated. Also, join the <b>Between the Rain Drops Forum</b>, a forum mainly for graphic artists but for other people too. (Roleplaying, General Discussion, Fun and Games, etc.) Anyway, just take a look around and leave a comment on the tagboard if you have time. Enjoy your stay! :)</tr></td>
<tr><td><h1>7.??.06</h1></td></tr><tr><td>(Update coming soon)
<?php include('footer.php'); ?>
header.php
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<TITLE>Between the Rain Drops</TITLE>
<META NAME="description" CONTENT="A website (with a forum) for graphic designers (preferably photoshop users) with goodies such as textures, brushes and tutorials.">
<META NAME="keywords" CONTENT="graphics, photoshop, textures, brushes, tutorials, forum, art">
<META NAME="author" CONTENT="Melissa">
<style text="text/css">
body,tr,td,p {font-size:8pt; font-family:verdana; letter-spacing:0pt; align:justify; line-height:13px; color:#626262;}
h1 {font-size:12pt; font-family:verdana; cursor:none; letter-spacing;0pt; align:justify; line-height:14px; color:#626262;}
b {color:#FFFFFF;}
input, textarea, {font-size:8pt; font-family:verdana; color:#626262;
background-color:transparent; border:0;}
</style>
<style type="text/css"><!--
body{
scrollbar-3dlight-color:#7D7D7D;
scrollbar-arrow-color:#A0A0A0;
scrollbar-base-color:#7D7D7D;
scrollbar-darkshadow-color:#7D7D7D;
scrollbar-face-color:#7D7D7D;
scrollbar-highlight-color:#A0A0A0;
scrollbar-shadow-color:#7D7D7D;
scrollbar-track-color:#A0A0A0;
}
--></style>
<style type="text/css">
A:link { text-decoration:underline; color:#3A3A3A;}
A:visited { text-decoration:underline; color:#3A3A3A; }
A:hover {text-decoration:underline overline; color:#FFFFFF; cursor:text; font-size:10pt;}
</style>
</head>
<body>
<body topmargin="0" leftmargin="0" rightmargin="0">
<body bgcolor="#000000" background="images/layout/background.jpg" bgproperties="repeat">
<img src="images/layout/header.jpg" border="0" height="500" width="750">
<div style="position:absolute; top:450; left:547; filter:alpha(opacity=100)">
<table width="165" style="border:0"></div><tr><td>
<center>Navigation</center></td></tr><tr><td>
<center><a href="????">Home</a></center></td></tr><tr><td>
<center><a href="????">My Stuff</a></center></td></tr><tr><td>
<center><a href="????">Sitely</a></center></td></tr><tr><td>
<center><a href="????">Goodies</a></center></td></tr><tr><td>
<center><a href="????">About Me</a></center></td></tr><tr><td>
<center><a href="????" target="_blank">Forum</a></center></td></tr><tr><td>
<!-- BEGIN CBOX - http://www.cbox.ws -->
<table border="0" cellpadding="0" cellspacing="0" summary="cbox tagboard" align="center">
<tr><td align="center">
<iframe frameborder="0" width="160" height="175" src="http://www2.cbox.ws/box/?boxid=1394169&boxtag=5679&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border: #ababab 1px solid;" id="cboxmain"></iframe>
</td></tr><tr><td align="center">
<iframe frameborder="0" width="160" height="75" src="http://www2.cbox.ws/box/?boxid=1394169&boxtag=5679&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: #ababab 1px solid; border-top: 0px;" id="cboxform"></iframe>
</td></tr>
</table>
<!-- END CBOX -->
</tr></td></table></div>
<div style="position:absolute; top:455; left:35; filter:alpha(opacity=100)">
<table width=480 style="border:0"><tr><td>
footer.php
Code:
</td></tr></table></div>
</body>
</html>
Thanks in advance!
