php check string exist or no t 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
}