2

I followed This one.

and followed the documentation too: Link1 and Link2

 $group = array();
            $groups = $this->ion_auth->groups()->result();
            foreach ($groups as $gr)
            {
                $group[$gr->id] = $gr->name;
            }
            // ----------------
            $data['group'] = $group;

2 of there is same to produce 'groups' in tables, but I have some problem when I submit data from post form, I get blank groups in table, and some times show the warning in:

in line 833 ion_auth_model.php

Please give me a shoot 'right' code when registering, I am confused with this one.

4

0 回答 0