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