How we can print SQL statement in codeigniter model?
You can use $this->db->last_query();
to display the query string.
You can use print_r($query);
to display the query result.
Suggest An Answer
No suggestions Available!
You can use $this->db->last_query();
to display the query string.
You can use print_r($query);
to display the query result.