In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (J Smith) wrote:

> > I need a search function (if statement) that performs a search on a string
> > and if the string contains something like "aol.com", performs another
> > function. Can anyone help me? Thanks.
> > 
> > Joseph
> > 
> 
> Try researching regular expressions. In PHP, look at the preg and ereg 
> groups of functions.

This doesn't sound like it requires the overhead of a regex function.  
Check out <http://php.net/strstr> instead.

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to