php in html page

Associate
Joined
22 Sep 2006
Posts
328
Location
London
Hey,

I have html pages and want to just insert some php includes to tidy things up.

in MS expression web (i know some of you will hate this! lol) if i try add some php into the .html it says i have entered one or more php blocks and need to change the page format to .php

It also seems i have to add a htaccess to get it to parse the .html though the .php engine to get it to read the blocks..

So basically i dont know what's best? The page is mainly simple html so i thought best to keep it as one.. but if best practice would be to make the page a .php then i will?

Advice/opinions?
 
lol. ok. so best just make the page php then... I think im correct in saying it doesnt change html formatting/coding at all?
 
Back
Top Bottom