RE: [PHP] Re: Arrays in form
| From: | Brian Tanner | Date: | Mon, 22 Oct 2001 07:55:20 +0000 |
| Subject: | RE: [PHP] Re: Arrays in form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71789@lists.php.net to get a copy of this message | ||
You don't need to use javascript unless you're lookin for "select all"
functionality.
I think what you are looking for might just be to have many checkboxes that
can be selected at a time?
You can look in the manual, but the trick is just to name your form fields
with a [] at the end. So, it would be like
<input type=checkbox name=messageid[] ... >
That will ensure that PHP takes all checked "messageid" boxes and sticks
them in an array for ya! Hope that helps!
Brian Tanner
Project Manager
Zaam Internet Solutions
Toll Free: 1-866-225-2675
info@zaam.com
http://www.zaam.com
-----Original Message-----
From: Yasuo Ohgaki [mailto:yasuo_ohgaki@yahoo.com]
Sent: October 21, 2001 10:50 PM
To:
Subject: [PHP] Re: Arrays in form
Use JavaScript.
Read PHP Manul if you need to pass array form vars.
There is a section for that.
Srinivasan ranganathan wrote:
> Hi all
>
> How can i implement a hotmail-inbox like checkbox
> functionality?
>
> thanks in adv
> Regards
> Srinivasan Ranganathan
--
Yasuo Ohgaki
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net