|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-10-26 05:56 UTC] rasmus
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Jun 16 22:00:01 2026 UTC |
in form file: <input type="Checkbox" name="test" value="one" align="LEFT">one<br> <input type="Checkbox" name="test" value="two" align="LEFT">two<br> <input type="Checkbox" name="test" value="one" align="LEFT">three<br> -or- <select name="test" size="3" multiple><option value="one">one <option value="two">two <option value="three">three </select> in submit file: while (list($var, $value) = each($HTTP_POST_VARS)) { echo "$var = $value<br>\n"; } echo $test; --- In the above example, if I were to select one and three, it would generally only return "three" in the resulting script. Generally, this will result in the last seleted value; it should result in a comma delited list of all selected values, shouldn't it? Help!!