Using codeigniter how can I know if the insert into actually worked?
$novo_usuario=$this->db->query("INSERT INTO usuario (nome, email) VALUES ('pessoa','pessoa@gmail.com')");
Through the variable $novo_usuario
how can I be sure that the registration has worked?