I am not able to run a php script on an html file, as the picture showed in the link, it always show error and nothing function in html file.
But I already have .htaccess configured in website root, and my dreamweaver have a php local server, and I set up my php by using xamppp. I have no idea why it won't work.
My .htaccess file:
AddHandler application/x-httpd-php .html .htm
AddType application/x-httpd-php5 .php5
AddType application/x-httpd-php5 .phps
AddType application/x-httpd-php5 .html .htm