problem example:
$string = '123,456,789';
$find = strchr($string, '12');
echo($find);
the echo outputs the whole $string (123,456,789) telling me it found my substring of '12'. this i don't want. i want it to search each comma delimited value independently. meaning above, it would have not returned any value but if the string were changed to this:
$string = '12,123,456,789';
then, yes, it would find the value '12'.
i'm new to PHP. any ideas? a different function?