Advertisement
Rofihimam

Untitled

Oct 23rd, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. <?php
  2.     include 'lib/library.php';
  3.  
  4.     $nis = $_GET['nis'];
  5.  
  6.     $sql = "DELETE FROM siswa WHERE nis = '$nis'";
  7.  
  8.     $mysqli->query($sql) or die($mysqli->error);
  9.  
  10.     header('location: index.php');
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement