prepare($sql); $stmt->execute([$name, $price, $features]); header("Location: plans.php"); exit; } catch (PDOException $e) { $errors[] = "Database error: " . $e->getMessage(); } } } ?>