[eluser]yarinb[/eluser]
Isn't that what I'm doing here?
Code:
function submit_add() {
$user = new User_Model();
$user->user_name = $this->input->post('user_name');
$user->real_name = $this->input->post('real_name');
$user->role_id = $this->input->post('role_id');
$this->db->insert('user', $user);
// go to success message
redirect('user');
}
User_Model class has only the fields which I need...
EDIT: just saw your edit

we're to fast