How To Get No Of Affected Rows In Codeigniter

[Solved] How To Get No Of Affected Rows In Codeigniter | Php - Code Explorer | yomemimo.com
Question : codeigniter check affected rows

Answered by : yash-dharia

return $this->db->affected_rows() > 0;

Source : https://stackoverflow.com/questions/16909257/check-number-of-affected-rows-in-codeigniter | Last Update : Mon, 22 Mar 21

Question : how to get no of affected rows in codeigniter

Answered by : shahzad-mahota

{"tags":[{"tag":"textarea","content":"\/*\n|=========================================================\n| how to get no of affected rows in codeigniter\n|=========================================================\n*\/\n$affected_rows = $this->db->affected_rows();\necho $affected_rows;\n","code_language":"php"}]}

Source : | Last Update : Wed, 18 Jan 23

Answers related to how to get no of affected rows in codeigniter

Code Explorer Popular Question For Php