php.net/strstr
if ( strstr($string, $search) )
echo "TRUE";
else
echo "FALSE";
--
Chris Lee
[EMAIL PROTECTED]
"Brandon" <[EMAIL PROTECTED]> wrote in message
001e01c158b3$91579170$5a52a040@wi">news:001e01c158b3$91579170$5a52a040@wi...
> Hello,
>
> How can I search for a certain word in a string?
>
> Thanks
> Brandon
>
--
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]