Try:
if (strpos($str2, $str1) !== false)
echo $str1 is inside $str2;
else
echo could not find $str1 inside $str2;
Php Webmaster [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
I have a little problem that I hope you can help me with.
I have the following strings:
Manuel VáZquez Acosta [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try:
if (strpos($str2, $str1) !== false)
echo $str1 is inside $str2;
else
echo could not find $str1 inside $str2;
Php Webmaster [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
2 matches
Mail list logo