[snip]
i have this code:
?if($old['Type']==Annual){?
input type=radio name=eventtype value=Annualchecked
accesskey=yYes
?}else {?
input type=radio name=eventtype value=OneTime checked
accesskey=nNo?}?
was just wondering if that was the right way to determine the state of a
radio button...?
if the
From: Andy B [EMAIL PROTECTED]
i have this code:
?if($old['Type']==Annual){?
input type=radio name=eventtype value=Annualchecked
accesskey=yYes
?}else {?
input type=radio name=eventtype value=OneTime checked
accesskey=nNo?}?
was just wondering if that was the right way to determine the
Assuming $old['Type'] somehow comes from $_REQUEST['eventtype'] (or is
related to it), then yeah, that'll work.
no its coming from a db result from fetch_array() of which im having an
interesting problem with right now but thats in another post
--
PHP General Mailing List (http://www.php.net/)
My understanding is if the variable exists then the radio button was
checked.
i have this code:
?if($old['Type']==Annual){?
input type=radio name=eventtype value=Annualchecked
accesskey=yYes
?}else {?
input type=radio name=eventtype value=OneTime checked
accesskey=nNo?}?
was just
- Original Message -
From: Daniel Clark [EMAIL PROTECTED]
To: Andy B [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 4:22 PM
Subject: Re: [PHP] radio buttons checked or not
My understanding is if the variable exists then the radio button was
checked.
i
5 matches
Mail list logo