1.

How we can print SQL statement in codeigniter model?

Answer»

You can USE $this->db->last_query(); to display the QUERY string.
You can use print_r($query); to display the query RESULT.



Discussion

No Comment Found