By using $this->db->affected_rows() function you can find the number of rows affected in codeigniter, when doing "write" type queries(insert, update etc).
確定! 回上一頁