[PHP-DEV] Bug #1013: USINF <form> with <select multiple> or <input type=checkbutton> From: fws-gbr <email protected>
Date: 12/29/98

From: fws-gbr <email protected>
Operating system: Linux
PHP version: 3.0.6
PHP Bug Type: Other
Bug description: USINF &lt;form&gt; with &lt;select multiple&gt; or &lt;input type=checkbutton&gt;

<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

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>