check if a string contains specific characters 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
}