How can I check a PHP form textarea for certain text?

Danny

New member
I have a form that contains a textarea. When it is submitted, I need to be able to see if it contains certain text (for example, to see if it contains "www"). How can I do this? I need to be able then to do soemthing like
if($_POST['whatever']->contents == 'www'){
something
}

Or something to the above effect.

Thanks!
 
Back
Top