[PHP] radio groups in looped form

2001-04-11 Thread Peter Houchin
hiya, I have a script that repeats a form x number of times depending on how many records there are, what's happening is when i go to update my radio buttons it sees every radio button on the page as the ONE group when really it's x number of groups (again depending on how many records

RE: [PHP] radio groups in looped form

2001-04-11 Thread SED
I don't think you can. The browser groups them by the name, so you will have to write some code (simple) to change the name... SED -Original Message- From: Peter Houchin [mailto:[EMAIL PROTECTED]] Sent: 11. aprl 2001 23:33 To: Php-General@Lists. Php. Net Subject: [PHP] radio groups

RE: [PHP] radio groups in looped form

2001-04-11 Thread Peter Houchin
ED]] Sent: Thursday, April 12, 2001 10:05 AM To: Peter Houchin Cc: [EMAIL PROTECTED] Subject: RE: [PHP] radio groups in looped form I don't think you can. The browser groups them by the name, so you will have to write some code (simple) to change the name... SED -Original Mes

Re: [PHP] radio groups in looped form

2001-04-11 Thread Lindsay Adams
e="avail[]" value="y" ? if ($avail == 'y') { echo 'CHECKED'; }? (i have another 2 radio buttons with this group) Peter -Original Message- From: SED [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 10:05 AM To: Peter Houchin Cc: [EMAIL PROTECTED] Subject: RE:

RE: [PHP] radio groups in looped form

2001-04-11 Thread SED
e same way (perhaps you may want to keep the total value of $i in a hidden form field for later use). SED -Original Message- From: Peter Houchin [mailto:[EMAIL PROTECTED]] Sent: 12. aprl 2001 00:05 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] radio groups in looped form e

Re: [PHP] radio groups in looped form

2001-04-11 Thread Lindsay Adams
7 PM, "Lindsay Adams" [EMAIL PROTECTED] wrote: My question: are the groups all within different forms? does each for have a different name? don't know, something to try. On 4/11/01 5:05 PM, "Peter Houchin" [EMAIL PROTECTED] wrote: even though i am putting them in

RE: [PHP] radio groups in looped form

2001-04-11 Thread SED
n a hidden form field for later use). SED -Original Message- From: Peter Houchin [mailto:[EMAIL PROTECTED]] Sent: 12. aprl 2001 00:05 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] radio groups in looped form even though i am putting them in an array? like input type=&q