Is there a function that sees if a word is in a string and then returns a boolean
There is a function that that sees if a word is in a string and says where it is.
what is it?
Listed under [man]strings[/man] in the manual.
I am not sure which one it is?
If you are able to read you should be able to figure it out
http://www.php.net/manual/en/function.stristr.php
If you have a set of words, or phrases, you may want to take a look at preg_replace(). It doesn't return a boolean, but returns the number of times a pattern matches. Anyway, 0 is considered false.