Код: Выделить всё
$where = '(a.title LIKE \'%'. $this->db->escape($name) .'%\' OR agi.senior_artist LIKE \'%'. $this->db->escape($name) .'%\')'
Есть ли собственное решение?
Подробнее здесь: https://stackoverflow.com/questions/401 ... -with-code
Код: Выделить всё
$where = '(a.title LIKE \'%'. $this->db->escape($name) .'%\' OR agi.senior_artist LIKE \'%'. $this->db->escape($name) .'%\')'