how to check string contains character in php code example
Example: php find if substring is in string
$result = strpos("haystack", "needle");
if ($result != false)
{
// text found
}
$result = strpos("haystack", "needle");
if ($result != false)
{
// text found
}