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 an array?
> 
> like
> 
> <input type="radio" name="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: [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 Message-----
> From: Peter Houchin [mailto:[EMAIL PROTECTED]]
> Sent: 11. apríl 2001 23:33
> To: Php-General@Lists. Php. Net
> Subject: [PHP] radio groups in looped form
> 
> 
> 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 there are)
> 
> How can i differ between raido groups with out having to get the name
> changed for every record after the 1st one?
> 
> Peter Houchin
> [EMAIL PROTECTED]
> =========================================================
>    _____                              __   /\
>   /_/_/_\                            /  |_/  \
>  /_/_/_    __  __  __   __          /         \
>  \_/_/_\  /_/ /_/ /_/  /_/          \   _     /
> ___\_\_\/ /_/_/_/ /_//\/_/            \_/ \/\_/
> \_//_/_/ /_/_/_/ /_/ \/_/                    v
>    ________   ________________________________________
>   /_/_/_/_/  /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>  /_/_ _/_/ ______  __   __  /_/ ____      __     ______
> /_/_/_/_/ /_/_/_/ /_/  /_/ /_/ /_/\_\    /_/    /_/_/_/
> /_/  \_\  /_/ _/  /_//\/_/ /_/ /_/__\_\  /_/___ _\_\_\
> /_/    \_\/_/_/_/ /_/ \/_/ /_/ /_/    \_\/_/_/_//_/_/_/
> =========================================================
> Telephone : (03) 9329 1455  Facsimile : (03) 9329 6755
> ************* We rent the dot in .COM!  **************
> 
> 


--
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]

Reply via email to