SyntaxFix
Write A Post
Hire A Developer
Questions
Make use of case-insensitve matching using stripos():
stripos()
if (stripos($string,$stringToSearch) !== false) { echo 'true'; }