i using this code to display radio buttons for selection. somehow the its not working correctly, plz guide on this issue.
thanks in advance.
<div class="register-section" id="user-role-section">
<label for="wp_rar_user_role"><?php echo $this->wp_rar_role_label; ?></label>
<?php
foreach($this->wp_selected_rar_roles as $role) {
?>
<input type="radio" name="wp_rar_user_role" id="wp_rar_user_role" class="input select" value="<?php echo $role; ?>" /> <label>
<?php echo $wp_roles->roles[$role]['name']; ?>
</label>
<?php
}
?>
</div>