Home › Forums › Back End › How to include php headers and footers on html site › Re: How to include php headers and footers on html site
August 26, 2012 at 3:37 pm #108488
So let’s say my I change my index.html to index.php. I copy all of my header code and paste it into a header.php file and then add this code to the top of every page?
Will the header code then look something like this?
I tried experimenting with that and it won’t let me preview the index.php file (probably because it’s not a webpage)