Re: Complicated Form Handling

From: Date: Sat, 10 Mar 2001 01:51:01 +0000
Subject: Re: Complicated Form Handling
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43270@lists.php.net to get a copy of this message
<INPUT TYPE=RADIO NAME=pid[1]> <INPUT TYPE=RADIO NAME=pid[2]> <INPUT TYPE=RADIO NAME=pid[3]> -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: "Fred" <fred@aybsl.net> Newsgroups: php.general Sent: Saturday, March 03, 2001 1:13 PM Subject: [PHP] Complicated Form Handling > my table holds these fields: userid, pid, setting, status > the pk is the pid field, and for each pid a user holds, there is a > different row to hold the user's pid's setting and status. > I am making a script t modify the setting of the user pid, > the script first generates a form, the form goes: > > User has pid, (Radio Button) enable,(Radio Button) Disable, (Radio Button) > Open; Setting is Active/Inactive > > the form also passes the as a hidden input. and this is repeated for each > pid that the user has, > so in effect, when submitting the form, nothing changes but the setting, but > im racking my brains trying to figure how to associate the radio button > group with the hidden pid, > as to create a form that works as > pid1 <-- Setting > pid2 <-- Setting > pid3 <-- Setting > so that i could insert them into the datbase the same way, > > ~Fred > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#43270) next »