Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Derick Rethans's Blog:
HTML name attribute deprecated
Oct 23, 2007 @ 17:52:00

Derick Rethans has pointed out a "gotcha" that was passed along to him (somewhat incorrectly) about the "name" attribute being deprecated in XHTML 1.0.

Just now somebody on IRC was claiming that the "name" attribute in HTML - the one that is used to give form input fields a name to be used in $_GET and _$POST in PHP is in fact deprecated. [...] But if you read correctly, it's only for the elements: a, applet, form, frame, iframe, img, and map.

For the official information, check out the section of the new spec dealing with this transition.

tagged: name attribute xhtml deprecated element name attribute xhtml deprecated element

Link:


Trending Topics: