How to parse PHP in HTML

To parse PHP code inside a .html file you will need to a create a .htaccess file in your document root directory /httpdocs and insert the following code:

AddHandler php-script .html .htm

Was this helpful?
How to parse PHP in HTML written by Tel average rating 5/5 - 1 user ratings