Executing php code within a HTML document is easy. Simply add this line to your main .htaccess file.
AddHandler application/x-httpd-php5 .html .php .htm
Then, you can insert code into your .html pages like this:
<?php
echo "Hello World";
?>
- 0 Els usuaris han Trobat Això Útil