|
Posted by Adrienne Boswell on 04/22/07 08:24
Gazing into my crystal ball I observed Desmond <otuatail@aol.com> writing
in news:1177227966.693986.119770@b58g2000hsg.googlegroups.com:
> What I ment is you cant use the statment
>
> <?php
> include "filename.html";
> ?>
> on a file with an extension of .html it will not work the file has to
> be changed to .php.
> php is not used in PURE html
>
>
No, you can use anything in there, as long as the server can parse it.
The extension does not have to be php either, as long as the server has
been configured to parse html as php.
However, I will say that one should not try to include an entire HTML
page within another, because one would get duplicate head elements. As
when replying to usenet posts, only include the relevant information.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Navigation:
[Reply to this message]
|