From:             [EMAIL PROTECTED]
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

Reply via email to