On Tue, 15 Jun 2004 13:20:24 -0400, Steve Douville <[EMAIL PROTECTED]> wrote:
> 
> I've forgotten how to assign something like this...
> 
> $someStr = EOF>>>"
>       bunch of raw non-echo'd html
> "
> EOF>>>;
> 
> But can't seem to get the right syntax. Tried looking in the manual, but
> don't even know what I'm looking for!

<?php
$someStr = <<<EOF
   anything you want
EOF;
?>

Here they are in the manual:

http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

  -robin

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

Reply via email to