i have following code for radio buttons
how can make radio buttons to be selected when i click on any of two labels in front of that radio button.
<div class="label_main" style="width:350px">
<div class="label_radio">
<input type="radio" name="group1" id="group1" value="0"
<?php if($r0==0) { ?>
checked="checked"
<?php } ?>
/>
</div>
<div class="label_top">
<label for="group1">First Option </label>
</div>
<div class="label_desc">
<label for="group1">This is first option </label>
</div>
</div>
</div>
<div class="label_main" style="width:350px">
<div class="label_radio">
<input type="radio" name="group1" id="group1" value="1"
<?php if($r0==1) { ?>
checked="checked"
<?php } ?>
/>
</div>
<div class="label_top">
<label for="group1">Second Option </label>
</div>
<div class="label_desc">
<label for="group1">This is Second Option </label>
</div>
</div>
only problem i am having if i change radio ID it work fine, but i need same id cause i need its value at the end to save in database.