04132005 0710 GMT-6 I went over that part forever last night and I finally just reboot the sever, restarted my browser - and it all worked.
Im starting to think that my Mozilla browser is turning buggy. Wade Fergal Andrews wrote: > Hi Wade, > You are using "checked" in the correct wasy. > I'm not sure why, but if you remove the underscore in the NAME field, so > it's over18 as opposed to over_18 the code works, at least it does for me. > I've always understood that underscores where fine in an input name, > so it's > a bit odd. > > all the best, > Fergal > > ----- Original Message ----- > From: "Wade" <[EMAIL PROTECTED]> > To: <php-list@yahoogroups.com> > Sent: Tuesday, April 12, 2005 10:48 PM > Subject: [php-list] Radio button on sticky values > > > > > > 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 > > > > Community email addresses: > Post message: php-list@yahoogroups.com > 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] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 4/12/2005 > > [Non-text portions of this message have been removed] Community email addresses: Post message: php-list@yahoogroups.com 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/