Hi,
I’m having problems using the php include statement.
When I open the web page with the php include directly the included file is parsed, and when I view page source I see the content of the included file.
When I open the same page through a link the php include does not get parsed and in view source I see only the php include statements.
Here’s part of the code.
header.php
[CODE]<div id=”header” style=”width: 100%; height: 130px;”>
<img src=”images/dove_logo10.png” alt=”reiki for peace logo” style=”float: right; margin-top: 0.5em; margin-right:2.5em;”></img>
</div>
webpage with header.php included.
[code=html]<html>
<body>
<div id=”screenWrapper”>
<?php include (“include/header.php”); ?>
<div id=”mainContDiv” >
<p> Bla Bla </p>
</div>
</div>
<?php include(“include/footer.php”); ?>
</body>
</html>
I’m using xampp for windows.
I’m sure the solution is very simple, but this problem has already consumed a good few days of my life so any help much appreciated.
Thanks
David
Paddling upstream searching for the source