hello, I am trying to get strpos to search string variable $string for the phrase "test" and if it doesn't contain test another variable $change is redefined as $string2 (where $change has been defined previously)
if (strpos($string, 'test') == false) {
$change = $string2;
break;
}
but unfortunately it doesn't work.
Is there a mistake in the above?
Thank you.