There is such a request:
SELECT `inpoint` FROM `u_prof` WHERE `inpoint`!='' AND `inpoint` NOT IN ('".implode(",", $usedInpoints)."') GROUP BY `inpoint`
Those. The $usedInpoints
array is $usedInpoints
and compared with it And how can you alter the request so that there is not a strict comparison, but through LIKE, like:
NOT LIKE IN ('%".implode(",", $usedInpoints)."%')
inpoint
field in theu_prof
table and what are the elements of the array `$ usedInpoints` - chernomyrdin