Advertisement
Guest User

statusL.php

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