[eluser]jonnyleeharris[/eluser]
Thanks a lot. Done that - got it working.
Just wondering if during the registration process, error information is recorded to the flashdata to be outputted to the user if required? I've looked at the usage in the login and tried to access flashdata['status'] during a registration and it seems to be empty. How can one access the error information based on the validation rules during a registration?
Thanks a lot. Also, this library is really useful, I thank your efforts!
Code:
public function get_username($id)
{
$i = $this->ci->db->select('username')->from($this->users_table)->where('id', $id)->limit(1)->get();
$row = $i->row();
return $row->username;
}