Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("koneksi.php");
- if(isset($_POST["username"]) && isset($_POST["password"]))
- {
- $email=$_POST["username"];
- $password=$_POST["password"];
- $result = mysqli_query($conn, "select * from user_info where username='$username' && password='$password'");
- if(mysqli_num_rows($result) > 0)
- {
- echo "Login";
- exit;
- }
- else
- {
- echo "invalid";
- exit;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement