NOW() GROUP BY Personen.ID "; $stmt = $mysqli->prepare($sql); $stmt->execute(); $r = $stmt->get_result(); $id = "curfutpersons"; $order = '[[2, "asc"], [3, "asc"]]'; $checkboxes = true; include __DIR__ . '/autotable.php'; $stmt->reset(); $pdf_sql = $email_sql = "SELECT Personen.*, Personen.ID AS PersID FROM Personen WHERE ID IN "; include __DIR__ . '/autoactions.php'; include __DIR__ . '/autoemail.php'; include __DIR__ . '/autopdf.php'; include __DIR__ . '/autoevent.php'; })(); include_once __DIR__ . "/footer.php";