Re: PHP and MySQL question
by "rudy" <rudy937(at)rogers.com>
|
| Date: |
Mon, 4 Aug 2003 14:15:02 -0400 |
| To: |
<hwg-techniques(at)hwg.org> |
| References: |
telus |
| |
todo: View
Thread,
Original
|
|
> <.input type="radio" name="publish_yes" value="<?=$publish_yes?>">Publish
> <.input type="radio" name="publish_no" value="<?=$publish_no?>">Don't
> Publish
>
> But the two options are not "one or the other", I can click on both and
each
> value will show as "on". What do I have to change here?
all radio buttons in a group must have the same name
<input type="radio" name="publish" value="<?=$publish_yes?>">Publish
<input type="radio" name="publish" value="<?=$publish_no?>">Don't
rudy
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.