There is a string with numbers. Each value is separated by commas.
Finding 21 on line 12,33,32,443,21,335 could be a simple search, but the numbers are not unique and can be repeated, for example:
$int = '26,499,838,221'; if(stristr($int, '21') == TRUE) { echo '21 найдено'; } He will find not 21, but 21 in 221. How to solve the problem? Use explode and check every value?