like string php 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');