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 8 years ago
- Sandy Hook
Your Answer