Bug #17380: input type checkbox value is missed when having more than 1 inputs

From: Date: Thu, 23 May 2002 09:02:12 +0000
Subject: Bug #17380: input type checkbox value is missed when having more than 1 inputs
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8299@lists.php.net to get a copy of this message
From: mbaroz@aheadtech.com Operating system: Window NT4 Server PHP version: 4.2.0 PHP Bug Type: Variables related Bug description: input type checkbox value is missed when having more than 1 inputs when using a simple html FORM and input like: <input type=checkbox name=myname> <input type=checkbox name=myname2> and then reading/using the value("on"/"") at the server side in PHP Var , after checking BOTH Checkboxes when we print : print $myname; print $myname2; we get: on o (missing the "n" at the last variable from the input name) any idea ? -- Edit bug report at http://bugs.php.net/?id=17380&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17380&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17380&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17380&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17380&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17380&r=support Expected behavior: http://bugs.php.net/fix.php?id=17380&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17380&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17380&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17380&r=globals

« previous php.bugs (#8299) next »