I am inserting data but how exactly I can know that my data is Really inserted. is there any predefine function or need to manually? Please help me to do this.
- 1 years ago
The method you are looking for is $this->db->affected_rows().
So your return statement could look like this:
return you the number of inserted Rows.