freephoneid Posted September 19, 2008 Share Posted September 19, 2008 Hi, I'm getting weird result for below code & someone told me to post the question in Web server admini part... a.php ==== <form name="aa" method="post"> <input type="text" name="xx" value="77"> <input type="image" name="delete" value="Delete" src="images/1.gif" alt="Delete"> </form> <?php print_r($_POST); ?> When I clicked the delete button, this is what I get: Array ( [xx] => 77 [deleteasn_x] => 49 [deleteasn_y] => 10 ) instead of Array ( [xx] => 77 [delete_x] => [delete_y] => [delete] => Delete ) Version info on Windows XP: C:\>c:\php-5.2.3\php.exe -v PHP 5.2.3 (cli) (built: May 31 2007 09:37:22) Copyright © 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright © 1998-2007 Zend Technologies Apache Version: Apache2.2.4 Any idea, why delete is missing from POST? Thanks!!! Link to comment https://forums.phpfreaks.com/topic/124985-delete-missing-from-post-is-it-web-server-issue-or-php-bug/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.