On Sat, Jan 29, 2000 at 06:14:36PM +0100, Math wrote:
>              conn =
>      
> MySQLdb.connect(host="localhost",user="root",passwd="admin",db="marathon")
>              curs = conn.cursor()
>              statement = "INSERT INTO deelnemers (naam) VALUES ('Math');"
>              curs.execute(statement)
>              curs.close()
>              conn.close()

curs.commit() erbij?

Succes,
Chris Niekel


-- 
    I've been down so long, if I'd cheer up, I'd still be depressed.
            - Lisa Simpson, Moanin' Lisa Blues.
_______________________________________________
Python-nl mailing list
Python-nl@python.org
http://mail.python.org/mailman/listinfo/python-nl

Antwoord per e-mail aan