Re: How do I Access Multiple Select in a Form?
| From: | MIKE YRABEDRA | Date: | Sat, 03 May 2003 11:44:27 +0000 |
| Subject: | Re: How do I Access Multiple Select in a Form? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146254@lists.php.net to get a copy of this message | ||
on 5/3/03 7:35 AM, Daniel R. Anderson at dan@mathjunkies.com wrote:
> I've got a form with a SELECT, but when I use echo POST to view the
> contents all I get is the last option selected.
For checkboxes I use
<input type="checkbox" multiple name="downloads[]" ...
<input type="checkbox" multiple name="downloads[]" ...
<input type="checkbox" multiple name="downloads[]" ...
I suppose you could do the same with select.
+--------------------------------------------+
Mike Yrabedra (President)
323 Incorporated
Home of MacDock, MacAgent and MacSurfshop
+--------------------------------------------+
W: http://www.323inc.com/
P: 770.382.1195
F: 734.448.5164
E: mike@323inc.com
I: ichatmacdock
+--------------------------------------------+
"Whatever you do, work at it with all your heart,
as working for the Lord, not for men."
~Colossians 3:23 <{{{><
+--------------------------------------------+