I am a PHP newbie, but learning quickly.
I use include to display the header and footer for my website.
The name of the header file is header.inc
In my index.php file, I have
But it will not display, instead I get an error message saying there is no file called headerinc. Thats right, it is removing the period inbetween header and inc.Code:include (header.inc);
What would cause this?
The only way I can make includes work, is to name the file with no extension.
I renamed it to just header, and it works file when I tell it to include header, but if I give it a name with an extension, it will not work.
Any ideas?





Bookmarks