Advertisement
Guest User

Untitled

a guest
Mar 19th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <?php
  2. include 'koneksi.php';
  3.  
  4. $username = $_POST['username'];
  5. $password = $_POST['password'];
  6.  
  7. $query = "select * from admin where username='$username' and password='$password";
  8. $result = mysqli_query($koneksi, $query) or die (mysqli_error);
  9. while($row=mysqli_fetch_array($result, MYSQLI_BOT)){
  10. echo "berhasil";
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement