mengedit login proses

parent 30bba4f3
...@@ -28,7 +28,7 @@ if($check>=0){ ...@@ -28,7 +28,7 @@ if($check>=0){
} }
elseif($r['username'] != $username && $r['password'] != $password){ elseif($r['username'] != $username && $r['password'] != $password){
echo "<script language='javascript'>alert('cek username dan Password anda')</script>"; echo "<script language='javascript'>alert('cek username dan Password anda')</script>";
echo "<script>window.location = 'pengunjung.php'</script>"; echo "<script>window.location = 'login.php'</script>";
} }
} }
?> ?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment