Re: [PHP] heredoc syntax vs Double-Quotes

2006-03-15 Thread Paul Novitski
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

Re: [PHP] heredoc syntax vs Double-Quotes

2006-03-15 Thread Chris
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

Re: [PHP] heredoc syntax

2004-10-20 Thread Matthew Weier O'Phinney
* 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

Re: [PHP] heredoc syntax

2004-10-20 Thread Janet Valade
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