Re: confusing problem or am just plain confused....

From: Date: Tue, 10 Jun 2003 19:27:10 +0000
Subject: Re: confusing problem or am just plain confused....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150956@lists.php.net to get a copy of this message
> I dont know how exactly to explain this but will do my best, i have many of > the following lines in a page: > > <td><p><input type=checkbox name='id[]' value=23><input > type="hidden" name > ="package" value="loco package"></td> <td><p><input type=checkbox name='id[23]' value="loco package"></td> > each line of course has a differient id[] value and package value. > > Everything is working fine with the just id[] value but now i need to add > the package value too...but the problem is when i submit the form all the > hidden fields are getting submitted when i only need the hidden "package" > value of the ticked checkbox...is there any way to do that? or alter the > above so that each id[] can have 2 values? ---John Holmes...

« previous php.general (#150956) next »