Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sql = "UPDATE users SET fullname = $fullname, bio = $bio, birthdate = $birthdate, pass = $newpass, WHERE username = $susername";
- if ($conn->query($sql) === true) {
- header("location: index.php");
- } else {
- echo 'failed '. $conn->error;
- }
Add Comment
Please, Sign In to add comment