Which function gives us the number of affected entries by a query?

mysqli_affected_rows() return the number of entries affected by an SQL query.