php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16563 bug
Submitted: 2002-04-12 05:19 UTC Modified: 2002-04-12 08:55 UTC
From: paddu at netandhost dot com Assigned:
Status: Not a bug Package: HTTP related
PHP Version: 4.1.0 OS: Linux
Private report: No CVE-ID: None
 [2002-04-12 05:19 UTC] paddu at netandhost dot com
sir,
   i found the following PHP bug.
when I submit a form with  a formfield listbox (allow multiple selection).when i get that listbox value in the action page.i got only one value insteedof getting multiple values.
the codeis here,
page test1.php
<form name="form1" method="post" action="test2.php" >
        <select name="paddu" multiple size="3">
          <option value="test1">test1</option>
          <option value="test2">test2</option>
          <option value="test3">test3</option>
          <option value="test4">test4</option>
        </select>
   
        <input type="submit" name="Submit" value="Submit">
    
      </form>
page test2.php
<?
echo $paddu;
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-12 05:57 UTC] mfischer@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
 [2002-04-12 08:55 UTC] mrobinso@php.net
There is also an entry in the FAQ about this.

http://www.php.net/manual/en/faq.html.php#faq.html.select-multiple


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Mar 02 15:01:24 2021 UTC