Gender Update (Radio Button) Using PHP Mysqli
<div class="form-group">
<label for="exampleInputEmail1">Gender</label><br/>
<input type="radio" name="att_user_gender" value="Male"<?php if($row['att_user_gender']=="Male"){ echo "checked";}?> />Male
<input type="radio" name="att_user_gender" value="Female" <?php if($row['att_user_gender']=="Female"){ echo "checked";}?>/>Female
</div>
<label for="exampleInputEmail1">Gender</label><br/>
<input type="radio" name="att_user_gender" value="Male"<?php if($row['att_user_gender']=="Male"){ echo "checked";}?> />Male
<input type="radio" name="att_user_gender" value="Female" <?php if($row['att_user_gender']=="Female"){ echo "checked";}?>/>Female
</div>