Correct names of vars

This commit is contained in:
2024-11-05 16:29:50 +03:00
parent 0b11360a9c
commit e28ef20a47
3 changed files with 19 additions and 18 deletions

View File

@@ -1,3 +1,4 @@
SELECT login, user_role FROM $table
WHERE login = '$login'
AND password = '$password';
AND password = '$password'
LIMIT 1;