HashPassword($_POST['password']); updateUserPassword($yaptc_db, $_SESSION['user_id'], $password); updateUserProfile($yaptc_db, $_SESSION['user_id'], $_POST['firstname'], $_POST['lastname'], $_POST['email']); echo $_POST['password']; echo $password; header('Location: ' . $_SERVER['PHP_SELF']); endif; endif; ?> prepare($query); $stmt->execute(array(':id' => $_SESSION['user_id'])); $user = $stmt->fetchObject(); ?>

Profile Information

You may make changes to your user profile below if you wish. Updates will take effect immediately on pressing "Save".

To change your password, enter a new password twice below and press save.