RE: [PHP] How to handle multiple value checkboxes

2002-08-29 Thread Lon Lentz
9, 2002 6:01 PM To: Lon Lentz Cc: Php-General@Lists. Php. Net Subject: Re: [PHP] How to handle multiple value checkboxes You have to name them different. and There will be now way to tell if the user checked both. You could do this: This will allow you to group everything in a hash so you could g

RE: [PHP] How to handle multiple value checkboxes

2002-08-29 Thread Lon Lentz
That did the trick. Thanks! -Original Message- From: Short, Chad [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 5:38 PM To: Php-General@Lists. Php. Net Subject: RE: [PHP] How to handle multiple value checkboxes Use the [] along with the type of input you are using

RE: [PHP] How to handle multiple value checkboxes

2002-08-29 Thread Short, Chad
. Net Subject: [PHP] How to handle multiple value checkboxes If I have a form with multiple checkboxes with different values but the same name, and someone selects a couple of them, how do I reference all of the values? Right now I am only getting the last one selected

Re: [PHP] How to handle multiple value checkboxes

2002-08-29 Thread Kevin Stone
might expect. Hope this helps, Kevin - Original Message - From: "Lon Lentz" <[EMAIL PROTECTED]> To: "Php-General@Lists. Php. Net" <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 3:07 PM Subject: [PHP] How to handle multiple value checkboxes > > >

[PHP] How to handle multiple value checkboxes

2002-08-29 Thread Lon Lentz
If I have a form with multiple checkboxes with different values but the same name, and someone selects a couple of them, how do I reference all of the values? Right now I am only getting the last one selected. __ Lon Lentz Applications Developer EXImpact.com -- P