detect find char in string php position 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
}