php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1013 USINF <form> with <select multiple> or <input type=checkbutton>
Submitted: 1998-12-29 18:46 UTC Modified: 1999-01-10 00:56 UTC
From: fws-gbr at Netcologne dot de Assigned:
Status: Closed Package: Other
PHP Version: 3.0.6 OS: Linux
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: fws-gbr at Netcologne dot de
New email:
PHP Version: OS:

 

 [1998-12-29 18:46 UTC] fws-gbr at Netcologne dot de
<HTML>
<HEAD>	<TITLE>Untitled</TITLE></HEAD>
<BODY>
<? print $frank; ?>
<form action=test2.php3 method="GET"> /* OR POST */
<select name="frank" multiple>
	<option value="1">1</option>
	<option value="2">2</option>
</select>
<input type="SUBMIT" value="EEEEEE">
</form>
</BODY>

this does not work with php3 as it does with perl.
U only get the last value.
What u can do, is use the get-method and put all the Arg[$i] with the same name into an array.
but then u have restrictions in the size of the data u want to submit. and anybody can see it.

If there is allready a solution, please mail me.

Frank Bretschneider

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-01-10 00:56 UTC] rasmus
This is question #5.9 in the FAQ.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 01:01:31 2024 UTC