= NOW() - interval 1 month and t.Beginn < NOW() + interval 2 year " ."order by t.Beginn asc"; $termine = array(); if ($stmt = $mysqli->prepare($query)) { $stmt->execute(); $res = $stmt->get_result(); while ($row = $res->fetch_assoc()) { $termine[] = $row; } $stmt->close(); } $id = preg_replace('/\s+/', '', $article); ?> "> =$tmn["Beginn"];?> bis =$tmn["Ende"];?> =($tmn["Präfix"]!="" ? "[".$tmn["Präfix"]."] " : "");?>=($tmn["Thema"]!="" ? $tmn["Thema"] : " ");?> =$tmn["Ort"];?> =$tmn["Name"];?> =$tmn["Beschreibung"];?>