Hi All,
OK, first off. This request is a little off subject as it isn't strictly about PHPrunner. But is is to do with a PHPrunner generated site, so that's my redeeming shot. Flame me if you must :-((
I have been trying to create a header and footer using the 'include' statement. The structure is as follows;
root
index.php
/include
ftr.php
hdr.php
/style
st1css.css
I am using this with PHP4.4.2 and Apache 2.
If I create a simple 'index.php' page saying 'hello world' - it displays just fine. If I then add the statement;
<?php include 'include/hdr.php'; ?>
when I reload the page I get the text from the included file (hdr.php) but then a row of garbage and no text from the original index.php file.
I have tried recreating the pages but the same thing happens. Can anyone help or has anyone seen this behaviour before please?
Thanks
BMAK