wat is strpos code example
Example 1: strpos
$mystr = 'abc';
$findMe = 'a';
$position = strpos($mystr, $findMe);
Example 2: strpos
strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int
$mystr = 'abc';
$findMe = 'a';
$position = strpos($mystr, $findMe);
strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int