[ad_1]
strpos returns the index of the found string. In this case the index is 0 and your check for == true will fail. Try:
strpos($where, $what) !== false
The documentation provides more information.
[ad_2]
solved strpos not finding one word in a string