diff --git a/auth.php b/auth.php index 7acce80..0317cec 100644 --- a/auth.php +++ b/auth.php @@ -11,7 +11,7 @@ $epasts = mysqli_real_escape_string($conn, $_POST['epasts']); //atrodam lietotājvārdu un paroli datubāzē. -$meklejam = "SELECT UsrMail, UsrParole, UsrDzests FROM tbUsers WHERE UsrMail = '$epasts' AND UsrDzests = 0"; +$meklejam = "SELECT UsrMail, UsrParole, UsrDzests FROM tbLietotaji WHERE UsrMail = '$epasts' AND UsrDzests = 0"; $izpildam = mysqli_query($conn, $meklejam); while($rinda = mysqli_fetch_assoc($izpildam)) {