CodeInigniter verifique insertar
return $this->db->affected_rows() > 0;
yash dharia
return $this->db->affected_rows() > 0;