i'm a complete beginner to php, but know other programming languages like java, html, C.
i have this problem with my include statement in that a 1 character follows every statement: like at the page here:
http://andrewdalgleish.co.uk/index.php
there are two include statements, one for a script and one for the menu, here is the code:
Code: Select all
<head>
<title>andrewdalgleish.co.uk</title>
<!--the script-->
<?=include("menuscript.txt")?>
</head>
<body bgcolor="#C86060">
<center><table border="0" width="780" height="800>
<tr>
<td width="140" bgcolor="#C86060" cellspacing="4" cellpadding="4">
<td valign="top" width="142" bgcolor="#C86060">
<!--the menu code.-->
<?=include("menu.txt")?>
<td width="640" bgcolor="#97BB83" valign="top">
<!--content!!-->
index.php
</td>
</table></center>
</body>any ideas why this is happening?
andy.