Re: [PHP] Sending Form Arrays

2002-01-28 Thread Jason Wong
On Monday 28 January 2002 22:34, Scott Saraniero wrote: > Thanks, I'll try this, but why is the value always 'Y'? It doesn't have to be 'Y', it can be anything you want, as long as it's not 0 (zero) or an empty string because they would be pretty hard to test for. > > try something like this:

RE: [PHP] Sending Form Arrays

2002-01-28 Thread Matt Schroebel
What I do is: Box 1 Box 2 Box 3 Box 4 Box 5 Then in the action script you'll get an array with only the checked values named $checked. So $checked[0] could be 'Box 2' and $checked[1] could be 'Box 5'. Be aware if nothing is checked, then $checked won't be an array, so you'll need to test

Re: [PHP] Sending Form Arrays

2002-01-28 Thread Scott Saraniero
Thanks, I'll try this, but why is the value always 'Y'? > From: [EMAIL PROTECTED] (Edward Van Bilderbeek - Bean It) > Newsgroups: php.general > Date: Mon, 28 Jan 2002 15:24:01 +0100 > To: <[EMAIL PROTECTED]> > Subject: Re: [PHP] Sending Form Arrays > &

Re: [PHP] Sending Form Arrays

2002-01-28 Thread Edward van Bilderbeek - Bean IT
try something like this: check 1 check 2 check 3 check 4 check 5 that should do it... Edward - Original Message - From: "Scott Saraniero" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 3:17 PM Subject: [PHP] Sending Form Arrays > Hi, > > I have a form