Advertisement
Guest User

statusG.php

a guest
Apr 25th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1.  
  2. <?php
  3.  
  4.  
  5. $id = $_GET['id'];
  6.  
  7. include "db_connection.php";
  8. if($connection)
  9.  
  10.  
  11. $sql = "UPDATE tempahan SET status ='GAGAL' WHERE user_id = '$id'";
  12. $result = $connection->query($sql);
  13.  
  14. echo ("<script>location='view.php'</script>");
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement