[FX.php List] AddSortParam line shows 0 records
Dale Bengston
dale.bengston at gmail.com
Thu Jan 12 14:35:46 MST 2012
Back in the day, I had trouble with single quotes on attributes. Maybe that was an IE6 thing?
Dale
On Jan 12, 2012, at 2:42 PM, Joel Shapiro wrote:
> FWIW: Both single & double quotes are valid for HTML attribute values:
> http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2
>
> I discovered this when I was writing a data URL in FMP. Since FMP only allows double-quotes for strings, using single quotes for attribute values meant I didn't need to escape the double-quotes
>
> "<div id='abc'>content</div>" instead of
> "<div id=\"abc\">content</div>"
>
> -Joel
>
>
> On Jan 12, 2012, at 10:29 AM, BEVERLY VOTH wrote:
>
>> Yes, Bob, that's why I try to use single quote for all php "quoting", that way I can embed HTML (with double quotes) inside.
>>
>> But I wonder if it's an FX.php thing (needing to use the SQ not DQ) in the command, as the error he got was about command....
>>
>> Beverly
>>
>>
>> On 12 Jan 2012, at 12:12 PM, Bob Patin wrote:
>>
>>> It won't matter; I've mixed and matched before and not had any trouble.
>>>
>>> I'm trying to get in the habit of using single-quotes now; it allows you to write things like
>>>
>>> $var = '<a href="mylink.htm">a link</a>';
>>>
>>> Because there are double-quotes inside the link, the singles are necessary...
>> _______________________________________________
>> 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
More information about the FX.php_List
mailing list