php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17380 input type checkbox value is missed when having more than 1 inputs
Submitted: 2002-05-23 05:02 UTC Modified: 2002-05-23 05:09 UTC
From: mbaroz at aheadtech dot com Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.2.0 OS: Window NT4 Server
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mbaroz at aheadtech dot com
New email:
PHP Version: OS:

 

 [2002-05-23 05:02 UTC] mbaroz at aheadtech dot com
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 ?






Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-23 05:09 UTC] mfischer@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. 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

Thank you for your interest in PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 25 14:01:29 2024 UTC