strpos
Find position of first occurrence of a string (PHP 3, PHP 4, PHP 5)
int strpos ( string haystack, mixed needle [, int offset] )
Returns the numeric position of the first occurrence of needle in the haystack string. Unlike the strrpos(), this function can take a full string as the needle parameter and the entire string will be used.
If needle is not found, strpos() will return boolean FALSE.
strpos
Find position of first occurrence of a string (PHP 3, PHP 4, PHP 5)
int strpos ( string haystack, mixed needle [, int offset] )
Returns the numeric position of the first occurrence of needle in the haystack string. Unlike the strrpos(), this function can take a full string as the needle parameter and the entire string will be used.
If needle is not found, strpos() will return boolean FALSE.