note 24473 added to function.trim
| From: | phpATsmintman@php.net | Date: | Sat, 17 Aug 2002 10:50:40 +0000 |
| Subject: | note 24473 added to function.trim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35167@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];
}
--
http://www.php.net/manual/en/function.trim.php
http://master.php.net/manage/user-notes.php?action=edit+24473
http://master.php.net/manage/user-notes.php?action=delete+24473
http://master.php.net/manage/user-notes.php?action=reject+24473