Re: php processing name vs. id field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 01, 2010 at 03:40:56PM +0200, Peter Lind wrote:

<snip>
 
> Apart from that, html5 is not going to do away with the name
> attribute. And name is in xhtml1 and html4.01 and there's no mention
> of it being obsolete, deprecated or in any other fashion on the way
> out.
> 
> As far as reference: the source.
> http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict very
> clearly specifies that name is still a very valid attribute.
> http://www.w3.org/TR/html401/interact/forms.html#h-17.4 shows the same
> in a slightly more readable format - the only mentions of anything
> deprecated (there are no references to anything obsolete) are for the
> isindex element and the align attribute of the legend element.
> 
> What is the case regarding the name attribute is that it's been
> deprecated for a few elements (such as a, form, frame, img) in XHTML1
> and will be removed in XHTML2 (which we'll likely never see used in
> browsers). See http://www.w3.org/TR/xhtml1/#h-4.10

All this is fortunate, since I don't think PHP is even aware of the ID
attribute. Imagine trying to process form fields without the "name"
attribute being present.

Paul

-- 
Paul M. Foster

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux