PHP include statement in an HTML document
Posted: Thu Apr 19, 2007 12:02 pm
Hey everyone,
I'm a PHP newbie and have what probably is going to be a stupid question but I can't find examples or info on it. I have an HTML document and in that document I have an include statement <?php include("showme.php")?>. When I load the HTML document, the contents of the PHP file isn't displayed. If I put the appropriate include statement in another php file to load showme.php, it works. So is it possible to have an include statement that loads a PHP file embedded in an HTML document?
Thx
I'm a PHP newbie and have what probably is going to be a stupid question but I can't find examples or info on it. I have an HTML document and in that document I have an include statement <?php include("showme.php")?>. When I load the HTML document, the contents of the PHP file isn't displayed. If I put the appropriate include statement in another php file to load showme.php, it works. So is it possible to have an include statement that loads a PHP file embedded in an HTML document?
Thx