SyntaxFix
Write A Post
Hire A Developer
Questions
You can use stristr() or strpos(). Both return false if nothing is found.
stristr()
strpos()