ID:               20202
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: WinXP SP1
 PHP Version:      4.2.2
 New Comment:

W3C Specs page about id attribute in XHTML 1.0 is at
http://www.w3.org/TR/xhtml1/#h-4.10


Previous Comments:
------------------------------------------------------------------------

[2002-10-31 14:36:20] [EMAIL PROTECTED]

PHP seems to ignore the id attribute given to form elements. It just
consider the name attribute

So while a element  like <input type="text" name="first_name" /> will
create a $_post["first_name"] variable if submitted, for exemple, the
similar tag <input type="text" id="first_name" /> will not create any
variable.

The problem is that in the XHTML 1.0 W3C specs the "name" attribute is
depreached in favor of "id". This could cause problems in the near
future where XHTML whill be more widespread.

It would be appreciated if the "id" attribute handling is added to
future PHP releases.

Info:
I installed PHP on my WinXP SP1 for use with IIS using the included
installer and use all the default choices.

My inst

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20202&edit=1

Reply via email to