diff --git a/src/index.php b/src/index.php index 6fbaad9..afd1db7 100644 --- a/src/index.php +++ b/src/index.php @@ -1,13 +1,15 @@ showNotif(" . json_encode($msg) . ");"; }else{ $sql = "SELECT * FROM users WHERE username =?"; $stmt = $db -> prepare($sql); @@ -24,7 +26,8 @@ if(isset($_POST['login'])){ header("location:leaderboard.php"); exit(); }else{ - echo "password salah"; + $msg = "Password Salah!"; + echo ""; } }else{ echo "username salah"; @@ -56,6 +59,7 @@ $db->close();

don't have account yet? register now!

+