codeigniter display last query code example Example: return last query codeigneter $this->db->last_query();