see :
http://www.php.net/strstr
http://www.php.net/stristr
Regards,
Philip
On Tue, 28 Aug 2001, Brandon Orther wrote:
> Hello,
>
> I have a variable with a string in it. I want to check if in that
> string a certain word is in it. Example
>
> $var = "This is a good sentence";
>
> $check = look("good", $var);
>
>
> and $check would equal 1 since "good" is in that string
>
>
>
>
> does anyone know how to do this?
>
--
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]