Re: Sending Form Arrays

From: Date: Mon, 28 Jan 2002 14:34:13 +0000
Subject: Re: Sending Form Arrays
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-82406@lists.php.net to get a copy of this message
Thanks, I'll try this, but why is the value always 'Y'? > From: edward@bean-it.nl (Edward Van Bilderbeek - Bean It) > Newsgroups: php.general > Date: Mon, 28 Jan 2002 15:24:01 +0100 > To: <php-general@lists.php.net> > Subject: Re: [PHP] Sending Form Arrays > > try something like this: > > <input type=checkbox name=check[0] value='Y'> check 1<BR> > <input type=checkbox name=check[1] value='Y'> check 2<BR> > <input type=checkbox name=check[2] value='Y'> check 3<BR> > <input type=checkbox name=check[3] value='Y'> check 4<BR> > <input type=checkbox name=check[4] value='Y'> check 5<BR> > > that should do it... > > Edward > > ----- Original Message ----- > From: "Scott Saraniero" <Scottsar@aminternet.com> > To: <php-general@lists.php.net> > Sent: Monday, January 28, 2002 3:17 PM > Subject: [PHP] Sending Form Arrays > > >> Hi, >> >> I have a form that has a section with multiple checkboxes. I would like to >> be able to send the checked boxes out as an array, and be able to retrieve >> the array in the next page (that the form variables go to.) I cannot find >> specific info on this anywhere. Can someone please point me in the right >> direction? >> >> Thanks, >> Scott >> >> >> -- >> 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 >> > >

« previous php.general (#82406) next »