note 24473 deleted from function.trim by maxim
| From: | maxim@php.net | Date: | Sat, 17 Aug 2002 22:42:42 +0000 |
| Subject: | note 24473 deleted from function.trim by maxim | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35180@lists.php.net to get a copy of this message | ||
The best way for retrieving information from an multile select choice:
<select name=results[] multiple>
<option value=1>test
...
</select>
And after submiting the form:
for($i = 0; $i < count($_POST['results']); $i++) {
echo $_POST['results'][$i];
}