I am so confused in regards to this issue, as I have followed recommendations from other posts yet am unable to get my program to work!
sql = "SELECT UserID FROM userdetails WHERE Username = %(value)s
AND Password = %(value2)s "
params = {'value': username, 'value2': password}
mycursor.executemany(sql, (params))
mydb.commit()
I believe the error to be related to this section of the code yet I am unable to see any mistakes to fix in order to make the program work again!
Any help is very appreciated, thank you in advance :)