php check word code example
Example: if text contains word then in php
if (strpos($haystack,$needle) !== false) {
echo "$haystack contains $needle";
}
if (strpos($haystack,$needle) !== false) {
echo "$haystack contains $needle";
}