affected row in codeigniter for a particular table code example Example: codeigniter check affected rows return $this->db->affected_rows() > 0;