Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请帮助我如何检查最后一个插入 ID 并导入其余数据而忽略以前的数据。?
您可以使用此代码查找最后插入 id
$this->db->insert($this->tablename, $details); return $this->db->insert_id();