I have a link stored in a variable called $word
like this:
$word = www.stack.com/angraze_mjhay_batao/help.php
I want to put a condition that if stack
is found somewhere in the variable $word
to do certain things.
I have done searching but everywhere there are functions to match words in the string. I cannot find any PHP function
that does this job.