On the HTML, Have you tried using .htaccess to tell the server to parse the html file as php? This does it:
First create a file on your computer and name it .htaccess
These lines in .htaccess force the server to parse the file as a PHP file. NOTE in this case I used 'index.html'. You can substitute whatever filenames you'd like to parse with PHP. Also if more than one, just copy and paste these three lines and change the file name.
<Files index.html>
ForceType application/x-httpd-php
</Files>
Incidentally .htaccess is a hidden file and cannot be accessed to remove it. Should you change your mind and later wish to remove it, the trick is often to upload the .htaccess again. It will often be visible until you end the ftp session and it can be selected on the server and deleted.
bob