CodeIgniter Forums

Full Version: Trying to select DINSTINCT values
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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

  $query = $this->db->get('complaints');
  return $query->result();