SHARE
TWEET

Untitled

Rofihimam Oct 23rd, 2019 75 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.  
  6.     if (empty($nis)) header('Location: index.php');
  7.  
  8.     $sql = "SELECT * FROM siswa WHERE nis = '$nis' ";
  9.     $query = $mysqli->query($sql);
  10.     $siswa = $query->fetch_array();
  11.  
  12.     if (empty($siswa)) header('Location: index.php');
  13.  
  14.     include 'views/v_tambah.php';
  15. ?>
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