[FX.php List] Stumbled on something I hadn't realized...

Dale Bengston dbengston at tds.net
Thu Nov 13 15:21:34 MST 2008


I went to single quotes and concatenation early on, so I could see  
variables better and not have to escape double quotes in HTML code.  
I'm glad I did; this kind of coding is much easier for me to edit  
years later.

Dale


On Nov 13, 2008, at 4:06 PM, Joel Shapiro wrote:

> One other advantage of keeping $vars out of strings is that in most  
> common text editors they are colored differently so they can be  
> found easily.
>
> -Joel
>
>
> On Nov 13, 2008, at 2:03 PM, Tim 'Webko' Booth wrote:
>
>>>
>>>
>>> I have seen that format but never internalized how useful it could  
>>> be with as a method to avoid escaping the double quotes.
>>
>> I guess I am so used to using double quotes and escaping out the  
>> required characters, as well as concatenating, that doing it some  
>> other way would probably take me more time these days ;-)
>>
>> Always nice to know there's more than one way of skinning a cat  
>> though
>>
>> Webko
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1582 bytes
Desc: not available
Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20081113/59696171/smime.bin


More information about the FX.php_List mailing list