1Answer
You can use the strpos function which is used to find the occurrence of one string inside other:
if (strpos($a,'are') !== false) {
echo 'true';
}
- answered 9 years ago
- Sandy Hook

Your Answer