If someone's updating a form, and I want their last settings to appear in a
the correct radio button, I use this:
>
>
So, on a form with a Radio button asking which you prefer, the one that
they've voted for before is the default button to be checked.
Oh, and I know that's probably messy :)
If
Try this:
if($radio1 == $opt1)
{
do whatever
}
rdb
At 04:39 PM 2/8/01 +, Miguel Loureiro wrote:
>Hello,
>I have sometging like this:
>">Opt1
>
>how I know if some user choose some radiobutton???
>I tried if($opt1) , but without success
>
>T.Y.
>
>Miguel Loureiro <[EMAIL
I think if($radio1) is what you're after.
HTH
Jon
-Original Message-
From: Miguel Loureiro [mailto:[EMAIL PROTECTED]]
Sent: 08 February 2001 16:39
To: php-gen
Subject: [PHP] radiobutton
Hello,
I have sometging like this:
">Opt1
how I know if some user choose some radiobutton???
I
3 matches
Mail list logo