prepare("DELETE FROM appointments WHERE id = ?"); $stmt->execute([$id]); echo "Deleted appointment $id\n";