> if (ereg("john",$jeff) ) { }
>
ok
> or:
>
> if( strstr( $jeff, "john") ) { }
>
ok
> or:
>
> if( strpos( $jeff, "john") ) { }
errorif (strpos($jeff, "john") !== FALSE) Best regards, Andrey Hristov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

