Welcome Guest, Not a member yet? Register   Sign In
Trying to select DINSTINCT values
#1

[eluser]jvk22[/eluser]
I'm trying to select dinstinct values for a search function, however its selecting values with the same name more then once.


Code:
$this->db->like('domain_name',$domain_name);
  $this->db->distinct();
  $query = $this->db->get('complaints');
  return $query->result();




Theme © iAndrew 2016 - Forum software by © MyBB