$record = '123';
$this->db->distinct();
$this->db->select('accessid');
$this->db->where('record', $record);
$query = $this->db->get('accesslog');
pak
$query->num_rows();
by k tomu měl jít dlouhou cestou.
$record = '123';
$this->db->distinct();
$this->db->select('accessid');
$this->db->where('record', $record);
$query = $this->db->get('accesslog');
pak
$query->num_rows();
by k tomu měl jít dlouhou cestou.