if a word in a sentence php 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";
}