php check if string contains a character 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";
}