Nicole <mailto:[EMAIL PROTECTED]>
    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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to