Re: how to get multiple checkbox values in a results page?

From: Date: Sun, 02 Dec 2001 00:35:37 +0000
Subject: Re: how to get multiple checkbox values in a results page?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76329@lists.php.net to get a copy of this message
Rename your form name to "befname[]" Then you'll get them all... this is in the manual somewhere if you need more info on it... don't remember exactly where. -philip On Sun, 2 Dec 2001, Ivan Carey wrote: > Hello, > I have a form with multiple checkboxes. > Their names are the same ie all are befname and their values are dynamically filled from a data > base. > When I check multiple boxes I expect that an array of the values with the array named befname > is sent to the results page. In my example the form action is inschk.php > > If an array is sent to inschk.php how may I get the multiple values out of it. > > If this can be done I then will insert the different values into a database. > > At present if I check multiple checkboxes I can only see the value of the last checkbox that is > checked. > > Thanks, > Ivan >

« previous php.general (#76329) next »