Re: how can php get the values of a group of checkbox

From: Date: Thu, 21 Nov 2002 19:23:53 +0000
Subject: Re: how can php get the values of a group of checkbox
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125469@lists.php.net to get a copy of this message
user name=cb[] and PHP will automatically make the array. then call it with $_GET["cb"][#] Adam On Thu, 21 Nov 2002, Xin Qi wrote: > hi there, > > if i have a group of checkboxes, and they have the SAME name, when they are > submited into a php script, how can this php file get the value of each > checkbox? > > since they have the same name, $_GET["checkbox_name"] only returns the last > one. > > thanks > > > >

« previous php.general (#125469) next »