Answer the question
In order to leave comments, you need to log in
Psycopg2.errors.SyntaxError: syntax error at or near "user"?
cursor.execute("INSERT INTO domains (user, domain, time, ns1, ns2, tc, cloudflare, cloudid) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)",[login, json["domain"], strftime('%Y-%m-%d %H:%M'), ns1, ns2, session['id'], cloud[1], cloudid])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question