change like in where clause to similar_text code example
Example: like %% inside the string php
strpos('STRING', 'SEARCH_ITEM');
--------------OR--------------------
preg_match('~' . preg_quote('.SEARCH_ITEM.', '~') . '~', 'STRING');
strpos('STRING', 'SEARCH_ITEM');
--------------OR--------------------
preg_match('~' . preg_quote('.SEARCH_ITEM.', '~') . '~', 'STRING');