Jump to content

embedding php


benji87

Recommended Posts

Just a quick and i imagine simple one. How do i embed php into a .html file? Ive used

addhandler application/x-httpd-php .htm .html

in my .htaccess file. Which from googling seems to be the way to go with this, although i dont seem to get the right results from it? I can echo a simple string of text but i cant include files, as nothing appears?

 

Also im wondering if this was working properly would the server print sql errors onto a .html page??

 

Cheers

Link to comment
https://forums.phpfreaks.com/topic/72753-embedding-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.