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
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: 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

Pull Requests

History

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