Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/u11u.com/usr/themes/wq/functions.php on line 110
Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/u11u.com/usr/themes/wq/functions.php on line 116
CI框架中仿佛只有select语句才能取得compile的sql语句,但是下面的代码却可以取得最后一次执行的sql语句,进而输出。
echo $this->db->last_query();