[Tutor] This should be easy
nephish
nephish at xit.net
Mon Jul 18 21:13:41 CEST 2005
Hey there,
i have a script that i am trying to use to add a record to a MySQL
database.
i keep getting a syntax error.
this works
cursor.execute("INSERT INTO Table ( numberone ) VALUES ( 'one');")
but this does not
cursor.execute("INSERT INTO Table ( numberone, numbertwo ) VALUES
( 'one','two');")
what is getting scrambled here?
the error i get is syntax error in MySQL query, check the documentation,
blah blah blah
thanks
More information about the Tutor
mailing list