probiers mal so:
mfg Andi
PHP-Code:
<?php
$string = "xyz";
$string1 = "123";
if(strstr($Variable,$string) OR strstr($Variable,$string1)) {
echo "Variable enthält xyz oder 123";
} else {
echo "Variable ohne xyz und 123";
}
?>
Kommentar