#20085 [NEW]: HTML Array variables are not working properly

From: Date: Fri, 25 Oct 2002 14:31:14 +0000
Subject: #20085 [NEW]: HTML Array variables are not working properly
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23306@lists.php.net to get a copy of this message
From: natz@idecnet.com Operating system: Linux (¿any?) PHP version: 4.2.3 PHP Bug Type: *General Issues Bug description: HTML Array variables are not working properly <form method=post action=myself.php> <input type="text" name="myTest[]"> <input type="text" name="myTest[]"> </form> <? echo "myTest[0] ->".$myTest[0]."<BR>\n"; echo "myTest[1] ->".$myTest[1]."<BR>\n"; ?> Try run the simple script, and you'll see. The array myTest contains parts of the values of the input fields, but not the complete values. Usually works once you type numbers as input. Weird. -- Edit bug report at http://bugs.php.net/?id=20085&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20085&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20085&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20085&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20085&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20085&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20085&r=support Expected behavior: http://bugs.php.net/fix.php?id=20085&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20085&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20085&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20085&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20085&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20085&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20085&r=isapi

« previous php.bugs (#23306) next »