load(); } require_once("../../mysyde/common/common_functions.inc.php"); require_once((local_environment()) ? "../../mysyde/dc.config.php" : "../../mysyde/dc-server.config.php"); db_connect(); /* ++ DuP breadcrumb mediaoslutions GmbH */ // Notwendig für Ajax if ($_POST['search'] != '') { $txt = replace_umlaut($_POST['search']); $query = "SELECT * FROM main_faq_line WHERE MATCH(text1, text2, hashtags) AGAINST('+*".mysqli_real_escape_string($GLOBALS['mysql_con'],$txt)."*' IN BOOLEAN MODE)"; $result = @mysqli_query($GLOBALS['mysql_con'], $query); echo "\n
\n"; echo "

Suchergebnisse

\n"; if (@mysqli_num_rows($result) > 0) { while ($questions = @mysqli_fetch_array($result)) { echo "

{$questions[text1]}

\n
{$questions['text2']}
"; } } else { echo "Keine Ergebnisse"; } echo "\n
\n"; } ?>