How to echo CI query? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: How to echo CI query? (/showthread.php?tid=14420) |
How to echo CI query? - El Forum - 01-02-2009 [eluser]Computerzworld[/eluser] Hello Friends, I am having one query with multiple where conditions.And I want to echo that query for checking. How can I echo that query? Please help me. Thanks in advance.... How to echo CI query? - El Forum - 01-02-2009 [eluser]ggoforth[/eluser] give this a shot: $this->db->last_query() After you run the query. How to echo CI query? - El Forum - 01-02-2009 [eluser]Computerzworld[/eluser] thanks for reply... its very helpful.... |