$record = '123';
$this->db->distinct();
$this->db->select('accessid');
$this->db->where('record', $record);
$query = $this->db->get('accesslog');
lalu
$query->num_rows();
harus pergi jauh ke arah itu.
$record = '123';
$this->db->distinct();
$this->db->select('accessid');
$this->db->where('record', $record);
$query = $this->db->get('accesslog');
lalu
$query->num_rows();
harus pergi jauh ke arah itu.