Okay well here goes.

On the header.php I've got an if statement that checks if a string is valid. If the string is valid it will print so this:

PHP Code:
if($string == 1) { 
is at the end of header.php.

On index.php it will include the header and then do what it can do:

PHP Code:
include("header.php") ;
// Do the stuff
include("footer.php") ; 
And at the end it will do the footer, which closes the braces:

PHP Code:
 

Aaaanyway, on including running "index.php" I get a parse error, unexpected $END on header.php. This seems to be saying that it hasn't included all of the files before parsing... do i have to use another method, such as
PHP Code:
require("header.php"); 
???

Regards,
Rudi