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
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor