這是我在model.php中的函數function add_user($data, $table){ $this->db->trans_start(); $insert_id = $this->db->insert($table, $data); $this->db->insert_id(); $this->db->trans_complete(); return $insert_id; }如何在其他函數中獲取 $insert_id 的值 *抱歉我的英語不好
- 2 回答
- 0 關注
- 149 瀏覽
添加回答
舉報
0/150
提交
取消