04122005 1645 GMT-6

Im using this code for radio button sticky values:

if ( $over_18 == Yes ) {
  print '<td>Yes<INPUT TYPE="radio" NAME="over_18" value="Yes" CHECKED >';
  print 'No <input type="radio" name="over_18" value="No"></td>';
}        
else {
  print '<td>Yes<INPUT TYPE="radio" NAME="over_18" value="Yes">';
  print 'No <input type="radio" name="over_18" value="No" CHECKED ></td>';
}

Is there anything wrong with this code? I changed the CHECKED to 
checked="CHECKED" and it stopped working.

But this code doesnt work either.

Wade


[Non-text portions of this message have been removed]



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to