application/core/MY_Model.php
// Helper debug function to dump the last query
Helper debug function to dump the last query
Helper debug function to dump the last query
protected function debugLastQuery($exit = false) {
        echo "<pre>";
        echo $this->db->last_query();
        echo "</pre>";
        if($exit) {
            exit;
        }
    }
protected function debugLastQuery ( $ exit = false ) { echo " <pre> " ; echo $ this -> db -> last_query ( ) ; echo " </pre> " ; if ( $ exit ) { exit ; } }
Helper debug function to dump the last query
Helper debug function to dump the last query