SHARE
TWEET

Untitled

dysphafiz_ Jan 22nd, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.     include 'lib/library.php';
  3.  
  4.     $nis = $_GET['nis'];
  5.     if (!empty($nis)) {
  6.         $sql = "DELETE FROM siswa WHERE nis = '$nis'";
  7.  
  8.         if ($mysqli->query($sql)) {
  9.             echo 1;
  10.         } else {
  11.             echo 0;
  12.         }
  13.     }
  14. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top