Re: dealing with arrays

From: Date: Wed, 27 Aug 2003 08:46:39 +0000
Subject: Re: dealing with arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160880@lists.php.net to get a copy of this message
Hi, Insteand of using the same value for checked, you should use different values for the checked parameter like value="entryOneChecked" value="entryTwoChecked" And it's a good idea to use quoting around variable names at least. Cheers, Catalin "Aris Santillan" <aris@femalenetwork.com> wrote in message news:831411C4CBD37C4A91DBEC9B98A64C8B6C4440@spmail.summitmedia.com.ph... > hi > > > I Have > <p>Entry One > <input type=text name=name[]> > <input type=text name=tel[]> > <input type=checkbox name=check[] value=1> > > <p>Entry Two > <input type=text name=name[]> > <input type=text name=tel[]> > <input type=checkbox name=check[] value=1> > > <p>Entry Three > <input type=text name=name[]> > <input type=text name=tel[]> > <input type=checkbox name=check[] value=1> > > <p>Entry Four > <input type=text name=name[]> > <input type=text name=tel[]> > <input type=checkbox name=check[] value=1> > > <p>Entry Five > <input type=text name=name[]> > <input type=text name=tel[]> > <input type=checkbox name=check[] value=1> > > . > > i want to process entries only with checked checkbox > > how can i do this in php? >

« previous php.general (#160880) next »