Complicated Form Handling

From: Date: Sat, 03 Mar 2001 19:25:56 +0000
Subject: Complicated Form Handling
Groups: php.general 
Request: Send a blank email to php-general+get-42464@lists.php.net to get a copy of this message
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

« previous php.general (#42464) next »