title: How can I get the role name
body: <pre><code>&lt;?php
      $role_class = new RoleModel;
      $role_name = "";
      foreach ($role_class-&gt;getInfoById("role_id") as $row) {
          # code...
          $role_name = $row-&gt;role_name;
      }
  ?&gt;
  &lt;fieldset class="g12 go pb_s"&gt;
      &lt;legend&gt;Basic Info&lt;/legend&gt;
      &lt;div class="g12 go"&gt;
          &lt;div class="g7 go"&gt;
              &lt;div class="g2"&gt;
                  &lt;label for="groupName"&gt;Role Name:&lt;/label&gt;
              &lt;/div&gt;
              &lt;div class="g4"&gt;
                  &lt;input type="text" placeholder="Type Role Name here..." name="role_name" value="&lt;?php echo $role_name; ?&gt;" required="required"&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/fieldset&gt;
  </code></pre>