Return to list
if(isset($string) and isset($query) and $string<>"" and $query<>""){
if(isset($case)){
$func = "ereg";
}
else{
$func = "eregi";
}
switch($where){
case "^":
$query = "^" . $query;
break;
case "$":
$query .= "$";
break; func("$query","$string");");
if($found){
echo "Found! ";
}
else{
echo "Not found! ";
}
}
?>
http://www.bkjia.com/PHPjc/319564.html
www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319564.htmlTechArticlea href="./"Return to list/abr form action="?echo $PHP_SELF;?" method= "post" finds input type="text" name="query" value="?e...