Advertisement
andyulianto

login

Sep 1st, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. <?php
  2. include 'koneksi.php';
  3.  
  4. $username = $_POST['username'];
  5. $password = $_POST['password'];
  6.  
  7. $query = mysqli_query("select * from admin where username='$username' and password='$password'");
  8. $cek = mysqli_num_rows($query);
  9. echo $cek;
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement