WordPress foreach loop issue.

i using this code to display radio buttons for selection. somehow the its not working correctly, plz guide on this issue.
thanks in advance.

PHP:

    <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>…

WordPress foreach loop issue.

See original post by raoraj

Leave a Reply