📜  codeigniter echo last query - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:18.778000             🧑  作者: Mango

代码示例5
public function test_db(){    $query = $this->db->get("items");      $str = $this->db->last_query();       echo "
";    print_r($str);    exit;}