Include PHP file inside the html file
Two way to include php file inside the html file.
(*) Change Apache configuration file.
(*) Rename .html to .php.
Change Apache Configuration:
Just include the below code into your apache conf file and restart your apache.
AddType application/x-httpd-php3 .php3 .phtml .php .html .shtml .htm
Rename .html to .php:
Rename .html file into .php file and then include your php file anywhere in that page.