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