"Les Neste" <[EMAIL PROTECTED]> 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/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to