query("SELECT id, bezeichnung FROM konto ORDER BY id ASC;"); $konto = $stmt->fetchAll(PDO::FETCH_ASSOC); $stmt = $pdo->prepare("SELECT datum_abgebucht, datum_ausgegeben, konto_id, beschreibung, betrag, bei_restguthaben_ignorieren FROM kontobewegung WHERE id = :kontobewegung_id;"); $stmt->execute(['kontobewegung_id' => $kontobewegung_id]); $kontobewegung = $stmt->fetch(PDO::FETCH_ASSOC); ?>