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" [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]