Re: checkbox submit
| From: | James Atkinson | Date: | Fri, 20 Oct 2000 23:33:52 +0000 |
| Subject: | Re: checkbox submit | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21513@lists.php.net to get a copy of this message | ||
On Fri, 20 Oct 2000, Tan Minh TRUONG wrote:
> When I ubmit multiple selection from checkboxes,
> how can I have all the information in an array ?
>
> Minh
<input type="CHECKBOX" name="boxes[]" value="1"> First
<input type="CHECKBOX" name="boxes[]" value="2">Second
<input type="CHECKBOX" name="boxes[]" value="3"> Third
ON the other end you'll have an array called boxes with that data in it
--
James Atkinson
-----------------------------------------------------------------
James Atkinson 100world
Technical Developer 512-1529 West 6th Avenue
phone: +1-604-637-8122 Vancouver, BC, V6J 1R1
fax: +1-604-742-1770 Canada
email: james.atkinson@100world.com http://www.100world.com
+---------------------------------------------------------------+
| This message may contain confidential and/or privileged |
| information. If you are not the addressee or authorized to |
| receive this for the addressee, you must not use, copy, |
| discolse or take any action based on this message or any |
| information herein. If you have received this message in |
| error, please advise the sender immediately by reply e-mail |
| and delete this message. Thank you for you cooperation |
+---------------------------------------------------------------+