make a new .htaccess file:
open notepad or other plain text editor and save as .htaccess (notice the "dot" at the beginning) be warned that it will sometimes save as .htaccess.txt if this is the case just use the "rename" ability and remove the .txt.
Newxt, add this to it:
Code:
AddType application/x-httpd-php .html .htm
AddHandler application/x-httpd-php .html .php .htm
Now you can have php code inside an htm, or html file and it will get parsed correctly as such 
save it, and upload to the root level of your server. done.
Bookmarks