You are here: Re: PHP & Quote Marks « PHP Programming Language « IT news, forums, messages
Re: PHP & Quote Marks

Posted by Sanders Kaufman on 09/10/07 02:43

shimmyshack wrote:
> On Sep 5, 7:43 pm, Ulf Kadner <dr_lo...@gmx.net> wrote:
>> ame...@iwc.net wrote:

>> PHP (and other languages) give you a construct, named Heredoc
>>
>> echo <<<TXT
>> <TABLE><TR>
>> <TD><input type=text name='partydate' value='$party_date'>
>> ... and so on...
>> TXT;
>
> yeah use Ulf's method - job done.


I'm glad this was posted.
It was a good reminder of something I never think to do.
Instead, I end up slogging through the code, escaping characters.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация