how to find if this string :
132,139,150,166,176
is in this one? :
132,139,150,166,176,131,140,151,165,175
You want strpos
strrpos("132,139,150,166,176,131,140,151,165,175","132,139,150,166,176");
If a string exists, its starting point will be returned from zero onward, if it is not present the result will be 'false'