ID: 25914 User updated by: atabac01 at hotmail dot com Reported By: atabac01 at hotmail dot com -Status: Open +Status: Closed Bug Type: *General Issues Operating System: windows XP PHP Version: 4.3.3 New Comment:
my mistake, the second field must be method and not action Previous Comments: ------------------------------------------------------------------------ [2003-10-19 22:04:17] atabac01 at hotmail dot com Description: ------------ $_POST array is always empty Reproduce code: --------------- <?php ?> <HTML> <BODY> <form action="addZip.php" action="post"> <input type="text" name="zipcode"> <input type="submit" name="submit" value="add"> </form> </HTML> Expected result: ---------------- when file addZip is called $_POST should contain fileds for zipcode and submit. Actual result: -------------- $_POST is empty ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25914&edit=1