Код: Выделить всё
$this->db->select('id, firstname, surname');
$this->db->from('users');
$this->db->where('site_id',$siteid);
$this->db->like('firstname', $name);
$this->db->or_like('surname', $name);
$query = $this->db->get();
Можно ли как-нибудь игнорировать регистр в моем запросе?
Подробнее здесь: https://stackoverflow.com/questions/562 ... oring-case
Мобильная версия