3
In PHP there is some função checking words in text, example:
A camila morreu de diabete.
I want to create a function looking for the word morreu, for after they find playing in a if the result, getting more or less like this:
if (função == 'morreu') { echo 'OK'; } else { echo 'FAIL'; }
Is there any function?
Verification is a very generic term, you need to say what you want to do. You want to know if the word is contained in the text?
– Maniero
Yes, I wonder if the word is in
texto, and then be able to create aIFwith her in you.– user126995