ID:               30168
 User updated by:  dan dot taylor at atlasmediagroup dot co dot uk
 Reported By:      dan dot taylor at atlasmediagroup dot co dot uk
-Status:           Open
+Status:           Bogus
 Bug Type:         Variables related
 Operating System: XP Pro
 PHP Version:      Irrelevant
 New Comment:

i'm oh so wrong


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

[2004-09-20 13:27:07] dan dot taylor at atlasmediagroup dot co dot uk

Description:
------------
When using input id instead of name as per xhtml spec, $_POST doesn't
retrieve the variable.

Reproduce code:
---------------
<?php

echo "POST:".$_POST['feedback'];

echo "<form name=\"form1\" method=\"post\"
action=\"".$_SERVER['PHP_SELF']."\">\n";

echo "<p><textarea id=\"feedback\" cols=\"50\"
rows=\"5\"></textarea></p>\n";

echo "<p><input type=\"submit\" name=\"Submit\" value=\"Submit\"
/></p>\n";

echo "</form>\n";

?>

Expected result:
----------------
POST:feedback text

Actual result:
--------------
POST:


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


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

Reply via email to