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