At 07:06 PM 3/15/2006, Chris Kennon wrote:
when is using heredoc advisable over Double-Quotes?
I love using heredoc primarily because it helps me separate logic
from markup when generating HTML. The text in a heredoc expression
is vanilla, no escape sequences needed, so there's less worry a
Chris Kennon wrote:
Hi,
Not looking to start some pugilistic fray, but when is using heredoc
advisable over Double-Quotes?
Probably with really long strings or pages of data so you don't have to
worry about quotes etc.
Pretty much comes down to personal preference I think.
--
Postgresql
* Janet Valade <[EMAIL PROTECTED]>:
> Adil wrote:
>
>> anyone know why heredoc syntax might not work with php5/apache installed. I
>> can't get even the simplest strings in heredoc syntax to work and I've tried
>> just cutting and pasting other peoples stuff in that syntax as well, and
>> still no
Adil wrote:
anyone know why heredoc syntax might not work with php5/apache installed. I
can't get even the simplest strings in heredoc syntax to work and I've tried
just cutting and pasting other peoples stuff in that syntax as well, and
still no luck
thx.
Adil.
Heredoc syntax is pretty rigid and
4 matches
Mail list logo