How to find out if there are any deleted lines in codeigniter, provided that $ this-> db-> affected_rows () is returned every time, i.e. to success or failure also
I do not use CodeIgniter, but usually affected_rows( )should return the number of rows affected. This means that if the request was successful, it should always be an integer. If 0 is returned, rows are not deleted; if> 0, this number is deleted.
source
share