prepare($sql)) { $stmt->bindParam(":id", $user_id, PDO::PARAM_INT); if ($stmt->execute()) { if ($stmt->rowCount() == 1) { if ($row = $stmt->fetch()) { $name = $row["name"]; $email = $row["email"]; } } } unset($stmt); } unset($pdo); // Include header include 'includes/header.php'; ?>
Edit your personal information.
' . $_SESSION['success_message'] . '