Í
Íéêüëáïò Êïýñáò
Hello, after inserting this line if "@" in mail and comment not in
("Ó÷ïëéÜóôå Þ ñùôÞóôå ìå ó÷åôéêÜ....", ""):
iam getting the following error which i dont understand
**************************************************************
163 # insert guest comments into database if form was
submitted
164 if "@" in mail and comment not in ("Ó÷ïëéÜóôå Þ ñùôÞóôå
ìå ó÷åôéêÜ....", ""):
165 try:
166 cursor.execute( '''INSERT INTO
users(mail, comment) VALUES(%s, %s)''', (mail, comment) )
mail = None, comment = None
TypeError: iterable argument required
args = ('iterable argument required',)
**************************************************************
can you help please?
("Ó÷ïëéÜóôå Þ ñùôÞóôå ìå ó÷åôéêÜ....", ""):
iam getting the following error which i dont understand
**************************************************************
163 # insert guest comments into database if form was
submitted
164 if "@" in mail and comment not in ("Ó÷ïëéÜóôå Þ ñùôÞóôå
ìå ó÷åôéêÜ....", ""):
165 try:
166 cursor.execute( '''INSERT INTO
users(mail, comment) VALUES(%s, %s)''', (mail, comment) )
mail = None, comment = None
TypeError: iterable argument required
args = ('iterable argument required',)
**************************************************************
can you help please?