prepare("DELETE FROM Mannschaft WHERE m_id= :m_id"); $stmt->execute(['m_id' => $_POST['m_id']]); } catch(PDOException $e) { handle_pdo_exception($e); } } $con = null; header("Location: mannschaft.php"); die; ?>