NYCPHP Meetup

NYPHP.org

[nycphp-talk] testing a theory

Kenneth Downs ken at secdat.com
Tue Feb 6 22:06:03 EST 2007


Paul Houle wrote:
> Urb LeJeune wrote:
>>
>> It's called a "here document" structure and can include variables.
>>
>> One note of caution. There can be no spaces at the end of either the
>> first or second "Content" and the last one must begin in column one.
>>
>    That's one reason I don't like here variables.  People mash them up 
> and I have to fix them.
>
>    When applicable,  I really like
>
> ?>
> Complicated HTML,  like maybe a <table></table>,  and use something 
> like <? q($var) ?> to
> insert a variable
> <?php

Exactly.  Much easier to deal with something that is almost completely 
HTML, or almost completely PHP.

>
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ken.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070206/54abe845/attachment.vcf>


More information about the talk mailing list