Help with the syntax, you need to pour 3 variables into the database, how to list them correctly? This code does not work.
insert23 = ("""INSERT INTO app (userid, req1, type) values (%s, %s, %s)""" % id % req1 % type) cur.execute(insert23) conn.commit()
insert23 = "INSERT INTO app (userid, req1, type) values (%s, %s, %s)" % (id, req1, type)- Pavel