Guest User

Untitled

a guest
Oct 18th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. $sql = "UPDATE users SET fullname = $fullname, bio = $bio, birthdate = $birthdate, pass = $newpass, WHERE username = $susername";
  2. if ($conn->query($sql) === true) {
  3. header("location: index.php");
  4. } else {
  5. echo 'failed '. $conn->error;
  6. }
Add Comment
Please, Sign In to add comment