I am having a bit of a nightmare with the INCLUDE function.
I have created Header and Footer files called: header.inc and footer.inc both stored in a directory called includes.
The above files have straight forward HTML within them
On every HTML page within my site I have the statements:
<html>
<body>
Html tags etc..
<?php
include("includes/header.inc");
?>
More Html stuff
<?php
include("includes/footer.inc");
?>
</body>
</html>
On my development PC at home I run this and everything works prefectly. However, once I upload the files to my site and launch, I Get the HTML output, but not the output for my header or footer
I viewed the source and I notice that the PHP code is displayed as written above and not rendered to the contents of the header and footer.
Can anyone help please