The site should look like this. But I’m using PHP include (as I have on another site) to insert the header and footer (so I don’t have to alter every single page when I want to make a change to one of them).
Right now, this is what it’s showing me. It’s just not reading the PHP for some reason. The file names are right. There are about four different files I’m trying to call to that page.
Thanks for any insights!
Tara
Its not working because you’re trying to include PHP inside a .html file. Unless you’ve setup Apache to parse HTML as PHP then this will never work. If you don’t have a PHP server you can often achieve a similar effect (common include files) with Server Side Includes (SSI).
FWIW you can tell that PHP isn’t being parsed by the fact your PHP is just being output in the source code e.g.