note 23358 added to faq.html
| From: | cwestnea at SPAMindiana dot edu | Date: | Tue, 16 Jul 2002 14:44:35 +0000 |
| Subject: | note 23358 added to faq.html | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33127@lists.php.net to get a copy of this message | ||
I've found that a neat trick is to do:
<form onSubmit="selection.name=selection.name + '[]'">
That way you can still do form.selection, instead of form.elements['selection[]'] and
still capture multiple variables.
--
http://www.php.net/manual/en/faq.html.php
http://master.php.net/manage/user-notes.php?action=edit+23358
http://master.php.net/manage/user-notes.php?action=delete+23358
http://master.php.net/manage/user-notes.php?action=reject+23358