Ok I have been trying to do this for about 1:30 minutes now, so I am going to ask here. I have a HTML file and in the side bar I make the include call: <?php include("dd.php"); ?> Code (markup): On dd.php I have on link: <a href="#">Portfolio</a> Code (markup): But when I test it out on a PHP compatible server etc it does not show up on the HTML file. Here is the html file http://pimpleblog.com/acnetret/template.html (dd.php and the css file is accessible from this URL). Thanks .
I thought it was possible to embed php into HTML? - because to have that page as a .html is almsot a must for me (seo reasons). Ty.
You can try to add following line to your .htaccess (create it if it is not exists): AddType application/x-httpd-php .html Code (markup): .htaccess - must be located in a directory with *.html you need to be processed, or even better in the website root.
dont worry I found a place in cpanel where I could add it, I did and it works great. Thanks for leading me there guys.