ID: 25914 Updated by: [EMAIL PROTECTED] Reported By: atabac01 at hotmail dot com -Status: Closed +Status: Bogus Bug Type: *General Issues Operating System: windows XP PHP Version: 4.3.3
Previous Comments: ------------------------------------------------------------------------ [2003-10-19 22:24:48] atabac01 at hotmail dot com my mistake, the second field must be method and not action ------------------------------------------------------------------------ [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