|
Posted by Kimmo Laine on 11/07/06 06:19
"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:gjouk2h89a103m6uhjdcl8rt1rq97jcd21@4ax.com...
> On Mon, 6 Nov 2006 11:35:25 +0200, "Kimmo Laine" <spam@outolempi.net>
> wrote:
>
>><laredotornado@zipmail.com> wrote in message
>>news:1162787385.554518.319680@e3g2000cwe.googlegroups.com...
>>>
>>> I'm using PHP 4.4.4. I notice for form elements that contain spaces,
>>> PHP substitutes an underscore for the element name when the form is
>>> submitted. For example, if I have this page (test.php)
>>
>>Spaces are invalid characters in name attributes. "ID and NAME tokens must
>>begin with a letter ([A-Za-z]) and may be followed by any number of
>>letters,
>>digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and
>>periods
>>(".")." (source: <http://www.w3.org/TR/REC-html40/types.html#type-name> )
>
> Ah, this one again. The name attribute of <input> elements et. al. are NOT
> of
> the datatype NAME, they are CDATA, and not subject to these rules.
Oh my, I was way wrong then. Thank you for correcting me. :)
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti pδivittyvδ nettisarjis
spam@outolempi.net | rot13(xvzzb@bhgbyrzcv.arg)
[Back to original message]
|