1
我有多个条目对应于单个属性。我需要检索最后插入的特定ID的记录。我想这样的,如何检索codeigniter中的特定属性的最后一项
$this->db->select('*');
$this->db->from('tbl_appverification');
$this->db->where('app_no',$appno);
$query = $this->db->get();
return $query_result();
,但我得到的所有值,其中app_no =“5665”
使用笨$这个 - > DB-> insert_id函数... – vijaykumar