All Questions
Tagged with phpliteadmin flask
1 question
0
votes
1
answer
743
views
Pset 7, why does session["user_id"] not take a variable?
I am able to solve the "register" part of the question by doing this:
session["user_id"] = db.execute("SELECT * FROM users WHERE username = :username", username=request.form.get("username"))[0]["id"]...