Posted By

telltec on 10/15/11


Tagged

sql php activerecord codeigniter


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Priestd09


Codeigniter: show SQL query from Active Record


 / Published in: PHP
 

  1. $dbgquery = $this->db->last_query();
  2. echo "<div class='message error'>DBG: " . $dbgquery . "</div>";

Report this snippet  

You need to login to post a comment.