if (!strpos($haystack, $needle)). code example Example: strpos strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int