What do you not understand from my previous post that you need to replace the placeholders or make the statements prepared?
Also be careful about spaces in the sql statements, e.g. in this one
'INSERT INTO user(username, password) VALUES(%s, %s)'
there should be space between user and ( and between VALUES and (, as in my example
And you still didn't fix the statement on line 36
Also be careful about spaces in the sql statements, e.g. in this one
'INSERT INTO user(username, password) VALUES(%s, %s)'
there should be space between user and ( and between VALUES and (, as in my example
And you still didn't fix the statement on line 36
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs