Crear un archivo de nombre ".htaccess" en la carpeta donde se encuentra el archivo html que contendrá el script php
En el documento HTML colocarlo de esta forma:
<html>
<header>
<title>Titulo</title>
...
</header>
<body>
<script language="php">
codigo-php
</script>
</body>
</html>
posteriormente ire explicandolo mas detalladamente en cuanto tenga tiempo
ahhh se me olvidaba el contenido del .htaccess
addtype application/x-httpd-php .html .php .htm
AddHandler x-httpd-php .htm