As a button, ideally two in fact - 'select all' and 'unselect all'.
I've done it easily with ASP sites - where the '' is not required to have
the values passed back as an array.
(I know I could find a non-array way of doing it but its a pain....)
On Monday 17 Dec 2001 6:06 pm, Charles Williams wrote:
> is this meant for initial settings of the form only or as a button, or some
> such, to allow someone to select all the boxs?
> ----- Original Message -----
> From: "Shane Wright" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, December 17, 2001 6:54 PM
> Subject: [PHP] 'Select All'
> > Hi
> > I'm having somewhat of a problem :(
> > I have my banks of checkboxes, all named 'mycheckbox' with the values
> > as different IDs. The user happily checks a few of them and my scripts
> > process the resulting arrays.
> > them by name because of the square brackets, and I cant access them by
> > through all form elements in case there are other checkboxes that dont
> > to be included.
> > Is there a tidy way around this, does any of the above make sense?
> > Thanks
> > --
> > Shane
> > --
> > 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]