Hi, this is the same sort as the one before but simpler! pls help, ive been trying for weeks to get it workin but no luck 
the date should appear in the light blue box but it doesn't?
any ideas??
URL: thanx
Martin
Computing help and info:
Code:
#tem.template
<table width="800" cellpadding="0" cellspacing="0" style="border-collapse:collapse">
<tr>
<td width="100%" height="100" bgcolor="#C5DEC6">Logo here</td>
</tr>
<tr>
<td width="35%" height="30" bgcolor="#0099FF">[## leftnav ##]</td>
<td width="65%" height="30" bgcolor="#0000FF">Main Stuff ^_^</td>
</tr>
</table>
#dotemplate.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
@(include('navleft.php')) OR die ("bar");
$logo = doNavLeft();
$pagehtml = implode("", file("tem.template")); $pagehtml = str_replace("[## leftnav ##]", $logo, $pagehtml);
echo($pagehtml);
?>
</body>
</html>
#navleft.php
<?php
function doNavLeft(){ ?>
<?php echo(date("d/m/y")); ?>
<?php } ?>
the date should appear in the light blue box but it doesn't?
any ideas??
URL: thanx
Martin
Computing help and info: