Posted by:
c2dan
(---.15-1.cable.virginmedia.com)
By default WAMP configures Apache to only parse PHP code within .php files. If you want .html files to be parsed by PHP you'll need to open the httpd.conf (left click WAMP tray icon and choose Apache > httpd.conf
Find the following line
AddType application/x-httpd-php .php
Now underneath that line add
AddType application/x-httpd-php .html
Save the httpd.conf and restart the Apache service.