Re: Sending Form Arrays

From: Date: Mon, 28 Jan 2002 15:42:33 +0000
Subject: Re: Sending Form Arrays
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-82421@lists.php.net to get a copy of this message
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: > > > > <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> -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Rocky's Lemma of Innovation Prevention: Unless the results are known in advance, funding agencies will reject the proposal. */

« previous php.general (#82421) next »