Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if($_SERVER['REQUEST_METHOD']=='POST'){
- $username = $_POST['username'];
- $password = $_POST['password'];
- $sql = "SELECT * FROM main_member WHERE username='$username' AND password='$password'";
- require_once('connect.php');
- sql $result = mysqli_query($con,$sql);
- $check = mysqli_fetch_array($result);
- if(isset($check));
- {
- echo "success";
- }else{
- echo "Gagal";
- }
- mysqli_close($con);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement