$suche = $_POST['q'];
$suche = htmlentities($suche);
$suchew = explode(" ",$suche);
$count = count($suchew);
$suche=str_replace(" ","* +",$suche);
$suche = "+$suche*";
$menu = mysql_query("SELECT * FROM prinz_deluxe WHERE MATCH (produkt
) AGAINST ( '$suche' IN BOOLEAN MODE) AND Menge!='0' LIMIT 15", $db);
while ($row = mysql_fetch_array($menu)) {
$text = $row[produkt];
for ($i = 0; $i < $count; $i++) {
if ($suchew[$i] != "") {
$text = eregi_replace($suchew[$i],"<b>".$suchew[$i]."</b>",$text);
}
}
$erg .= "<li class='LSRow'> » <a href='$domain?anr=$row[Anr]'>$text</a></li>";
}
if ($erg != "") {
echo "<ul class='LSRes'>$erg</ul>";
}