Hi All
Perhaps someone has a solution:
I have a string like so:
"1#2#3#4#21#25#"
I want to know of this string contains the character "21"
However using strstr does not work as it always returns false:
$string = "21";
$container = "1#2#3#4#21#25#";
if(strstr($container,$string)) {
echo "found it.";
} else {
echo "not found.";
}
Does anyone have any ideas?
Regards
Russ