[FX.php List] AddSortParam line shows 0 records
BEVERLY VOTH
beverlyvoth at gmail.com
Thu Jan 12 14:26:35 MST 2012
Yes, Joel, that's the "problem" with HMTL5. it can be NON-xhtml compliant. So there I go trying to make it consistent and xhtml compliant and quote *everything*... :)
Yeah, sorry, Denis.
Beverly
On 12 Jan 2012, at 4:21 PM, Joel Shapiro wrote:
> Hi Beverly
>
> I hadn't realized attribute values didn't need quotes in HTML5. I do know that -- not being XHTML -- we can again use just selected, checked, etc. instead of selected="selected", which I like
>
> HTML5
> <input type=checkbox checked>
>
> XHTML
> <input type="checkbox" checked="checked">
>
> Sorry Denis for the thread hijack :-P
>
> Cheers,
> -Joel
>
>
> On Jan 12, 2012, at 1:00 PM, BEVERLY VOTH wrote:
>
>> Yes, Joel. As these are valid in HTML5: NO quote (if there is one value in the attribute, no spaces). But empty (as for ALT tag) must be quoted (alt="" or alt='', not alt=).
>> alt=blue (is VALID!!)
>>
>> I still try to stay consistent with DQ in HTML, SQ in PHP (and other web apps), so that I can intermingle the HTML inside the web application commands. I switch between web applications and databases constantly. My brain has to be consistent or else!! But that's just me...
>>
>> :)
>> Beverly
>>
>> On 12 Jan 2012, at 3: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
>>
>> _______________________________________________
>> 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