#29721 [Opn->Bgs]: Dynamic variables wrong after a POST
| From: | tony2001@php.net | Date: | Tue, 17 Aug 2004 13:42:32 +0000 |
| Subject: | #29721 [Opn->Bgs]: Dynamic variables wrong after a POST | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64788@lists.php.net to get a copy of this message | ||
ID: 29721
Updated by: tony2001@php.net
Reported By: me at autourdupc dot com
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: Windows
PHP Version: 4.3.8
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Use var_dump($_POST); and you'll see that variables are on their
places.
Debug you code.
Previous Comments:
------------------------------------------------------------------------
[2004-08-17 15:35:33] me at autourdupc dot com
Description:
------------
Using dynamic variables.
After a POST, variables initialized with a NULL value are not NULL.
Reproduce code:
---------------
http://www.autourdupc.com/bug.php.txt
Expected result:
----------------
If you enter a value in the first field and leave others blank.
After the post, only the first value must have the value.
Actual result:
--------------
Actually, all the variables have the same value.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29721&edit=1