Re: Re: php form action breaks script

From: Date: Fri, 15 Jun 2012 18:09:05 +0000
Subject: Re: Re: php form action breaks script
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-318251@lists.php.net to get a copy of this message
It is a small price to pay for large block, especially if the text has any quotes. Personally, I can't keep them straight and delimit them, etc. Heredoc saves all that such stuff. $insert= MY_DEFINED; echo <<<hdc This is my $insert hdc; On 6/15/2012 12:39 PM, Jim Lucas wrote:
On 06/15/2012 06:35 AM, Jim Giner wrote:
Hear, Hear for heredocs. The only way to code up your html. Took me a few months to discover it and haven't looked back since.
The only problem I have with HEREDOC is I cannot use constants within them.


« previous php.general (#318251) next »