I am trying to make a MySQL query where I filter the records based on the search text using LIKE keyword.
For example if the user searches for Illusion Softwar
Illusion Softwar
you can try this also, this worked for me,
$this->db->or_like('CONCAT(Contacts.FirstName,' ', Contacts.LastName)',$search);