RE: [PHP] PHP Alternative to IFRAME?
| From: | Chris W. Parker | Date: | Mon, 23 Feb 2004 20:36:05 +0000 |
| Subject: | RE: [PHP] PHP Alternative to IFRAME? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178590@lists.php.net to get a copy of this message | ||
Nicole <mailto:ndirato@jenkinslaw.org>
on Monday, February 23, 2004 12:06 PM said:
> I'm not having much luck explaining what I want here ... a drawback of
> emailing. I know how to include files, I just wanted to include it
> in such a way that my body text still wrapped around it.
myfile.php:
<?php
echo "<p>here is some more body text.</p>\n";
?>
main.php:
<?php
echo "here is some body text. here is some body text. here is some body
text.\n";
echo "here is some body text. here is some body text. here is some body
text.\n";
include "myfile.php";
echo "here is some body text. here is some body text. here is some body
text.\n";
echo "here is some body text. here is some body text. here is some body
text.\n";
?>
that will output:
here is some body text. here is some body text. here is some body text.
here is some body text. here is some body text. here is some body text.
<p>here is some more body text.</p>
here is some body text. here is some body text. here is some body text.
here is some body text. here is some body text. here is some body text.
hth,
chris.