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
[EMAIL PROTECTED]
http://www.zaam.com

-----Original Message-----
From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to