Posted by Andy Hassall on 11/12/69 11:19
On 23 Jun 2005 13:40:56 -0700, news@celticbear.com wrote:
>Saw an example of code recently that used this:
>
>echo <<<HTML
> $error $x INVALID DOMAINS<DIV align="center">$display</DIV>
>HTML;
>
>But what exactly is "<<<HTML" and what other uses does it have?
Search term: heredoc.
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
[Back to original message]
|