Re: HTML and PHP?
| From: | Steve Werby | Date: | Sat, 14 Apr 2001 03:34:26 +0000 |
| Subject: | Re: HTML and PHP? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48508@lists.php.net to get a copy of this message | ||
"Les Neste" <lesneste@atlnewmedia.com> wrote:
> Cool. Does that work with echo too, do you know?
<?
echo <<<STOP
<html>
Yes, echo can use here-docs! Is it really that *hard* to take 1 minute to
test for yourself? ;-)
And you can use whatever marker (the 'STOP' above and below) you choose.
Just make sure you don't indent the closing marker or the parser will miss
it!
</html>
STOP;
?>
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/