Hey I'm having trouble with some php I made a template below is the html for it. When I have <? print($content); ?> in the html the php page will not insert the other file into that area. It puts it on top of the template page or below it how can I get it to go where I want it?
thanks-Jon
php page
<?
$title= "Home";
$content=("index1.htm");
include("template.htm");
?>
index1 page
<center><img src="team.jpg"></center>
template page
<html>
<head>
<title>Ghost Cell-<? print($pagetitle);?></title>
</head>
<body>
<table border="0">
<tr>
<td width="25%" height="102"> </td>
<td width="50%" height="102">
<p align="center"><img border="0" src="bannerulti.jpg" width="735" height="141"></td>
<td width="25%" height="102"> </td>
</tr>
<tr>
<td width="25%" height="591">
<table border="1" cellspacing="0" cellpadding="0" bgcolor="#333333" width="142" height="100%">
<tr>
<td bgcolor="#000000">
<p align="center"><img border="0" src="topper.jpg" width="110" height="48"></p>
</td>
</tr>
<tr>
<td align="center"><font face="Verdana" size="1" color="#3366CC">.:Home:.</font></td>
</tr>
<tr>
<td align="center"><font face="Verdana" size="1" color="#3366CC">.😮perators:.</font></td>
</tr>
<tr>
<td align="center"><font face="Verdana" size="1" color="#3366CC">.:Armory:.</font></td>
</tr>
<tr>
<td align="center"><font face="Verdana" size="1" color="#3366CC">.:Links:.</font></td>
</tr>
<tr>
<td align="center"><font face="Verdana" size="1" color="#3366CC">.:Contact:.</font></td>
</tr>
<tr>
<td align="center"><font face="Verdana" size="1" color="#3366CC">.:InnerCell:.</font></td>
</tr>
<tr>
<td align="center"><font face="Verdana" size="1" color="#3366CC">.😛roject
Cain:.</font></td>
</tr>
<tr>
<td align="center" bgcolor="#333333"><font face="Verdana" size="1" color="#3366CC">--Sponsors--</font></td>
</tr>
<tr>
<td bgcolor="#333333">
<p align="center"><img border="0" src="sponsor.jpg" width="110" height="24"></p>
</td>
</tr>
<tr>
<td height="100%"> </td>
</tr>
</table>
</td>
<td width="50%" rowspan="5" height="729">
<center>
<table border="0" width="100">
<tr> <div style="height: 700; width: 600; overflow: scroll">
<div align="center">
<p align="center">
[COLOR=red]<? print($content); ?> [/COLOR]
</tr>
</center>
</div>
<td width="100%">
</td>
</table>
</center>
</td>
<td width="25%" height="591">
<table border="1" bgcolor="#333333" height="744" bordercolor="#808080" cellspacing="0" cellpadding="0">
<tr>
<td height="12"><img border="0" src="but3.jpg" width="118" height="31"></td>
</tr>
<tr>
<td height="220"><p align="center"><font color="#3366CC" size="1" face="Verdana"><script language="JavaScript" src="http://www.airsoftnetwork.com/cgi-bin/asnews3.js"></script></font></p>
</tr>
<tr>
<td height="494">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF" height="57">
<p> </p>
<p> </td>
</tr>
<tr>
<td width="25%" height="19"> </td>
<td width="25%" height="19"> </td>
</tr>
<tr>
<td width="25%" height="19"> </td>
<td width="25%" height="19"> </td>
</tr>
<tr>
<td width="25%" height="19"> </td>
<td width="25%" height="19"> </td>
</tr>
</table>
</body>
</html>