PDA

View Full Version : trying to add php to an html page


eric
01-09-2003, 06:54 AM
I'm fairly new at php except for cut and paste so please forgive my ignorance...

I found a small snippet of php code that I want to add to an
html page, with an .html extension. How can I add just a small piece of code without having to change the extension to .php?

Thanks,
eric

mordred
01-09-2003, 08:07 AM
Reconfigure your webserver that .html files are parsed by the PHP engine.