How to check if a row is affected with codeigniter active record
codeigniter
Solution
use `affected_rows()`;
$this->db->affected_rows()
Displays the number of affected rows, when doing "write" type queries (insert, update, etc.).
Problem
I search through the net but i didn't find any solution, My problem is that how do I now during update that if a row values has changed or not or if a row is affected?