Python PyQt : Authentication of User for Login

preview_player
Показать описание
Download Link :
Project Login Form:--------- :)---------------
Рекомендации по теме
Комментарии
Автор

At the place of print method if I use qmessagebox am getting unbound error, can you please let me know what error it is and how to solve that problem

arjunvenkatesh
Автор

Сan you help? how to do this in MYSQL

if(len(result.fetchall()) > 0):
Don't working

ВладимерПопов-цг
Автор

thanks mate, at first i had an error but found out how to solve it
my code had a problem at:

result = connection.execute("SELECT * FROM USERS WHERE USERNAME = ? AND PASSWORD = ?", (username, password))
Error binding parameter 0: probably unsupported type



however the solution is

result = connection.execute("SELECT * FROM USERS WHERE USERNAME = ? AND PASSWORD = ?", (str(username), str(password)))

tawandabanda