|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11740 Multiple select gives back only the last selected option
Submitted: 2001-06-27 11:11 UTC Modified: 2001-06-27 11:43 UTC
From: flatline at mail dot tvnet dot hu Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0.4pl1 OS: Debian 2.2.19 Potato
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.
Block user comment
Status: Assign to:
Bug Type:
From: flatline at mail dot tvnet dot hu
New email:
PHP Version: OS:


 [2001-06-27 11:11 UTC] flatline at mail dot tvnet dot hu
Here is the form, with a multiple list:
<form name="form1" method="post" action="doit.php3">
  <select name="opciok" size="2" multiple>
    <option value="1">aaaaa</option>
    <option value="2">bbbbb</option>
    <option value="3">ccccc</option>
  <input type="submit" name="Submit" value="Submit">

echo $opciok; /* output: 3*/
/* It would be nice to use it as an array, to reach all the selected option values.

And I don't want to use the GET method, to parse the Query String.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-27 11:43 UTC]
submitted twice

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun May 22 08:05:44 2022 UTC