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

This is up to the browser to do. Did you verify with a line sniffer /
network tracer to see what happened? My bet is that the browser didn't
send the data correctly, and of course PHP doesn't record it then.

Derick


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

[2002-10-31 14:46:26] [EMAIL PROTECTED]

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

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

[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