= $min && $int <= $max); } // Check Search String for Valid Characters public static function validate_search($search) { if (!preg_match("#^[a-zA-Z0-9äöüÄÖÜ _\-\.\*\?\;\(\)]+$#", $search)) { return false; } else { return true; } } } ?>