获取insert时的自增id

if ($this->db->affected_rows()) 
{
	return $this->db->insert_id();
}
return 0;
相关文章
相关标签/搜索