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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 13:01:30 2024 UTC