Maybe I\'m asking a bit too banal question, but I really cannot figure out how to check for an occurrence of a wildcard (*) character in a string using PHP.
if (strpos($mystring, '*') === false) {
echo "Wildcard was not found in the string '$mystring'";
} else {
echo "Wildcard was found in the string '$mystring'";
}
Based on the example at http://php.net/manual/en/function.strpos.php