Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. {
  2. <?php
  3.  
  4. $sql = "UPDATE u_data SET Email = '$Email' , Name = ''$Name' , Age = '$Age' WHERE Id = '$Id'";
  5. if(mysqli_query($conn , $sql))
  6. {
  7. if(!empty($Email) || !empty($Name) || !empty($Age))
  8. {
  9. $Success = "User has been Updated Successfully!";
  10. header("Location: Updating_U.php?Success=" . urlencode($Success));
  11. exit();
  12. }
  13. }
  14. ?>
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement