Moin!
if(strstr($variable,'1')) {
echo"1 kommt in variable vor";
} else {
echo"1 kommt nicht in variable vor";
}
lese dir einmal die string-funktionen durch:
http://de.php.net/manual/de/ref.strings.php
tschüss ichen
--
Selfcode: sh:( fo:| br: n4:& ie:% mo:| mo:| de:] zu:) fl:| ss:| ls:[ js:|
Selfcode: sh:( fo:| br: n4:& ie:% mo:| mo:| de:] zu:) fl:| ss:| ls:[ js:|