Python MySQLdb, simple chatroom/guestbook app
===

I've browsed some of the other questions about MySQL and Python on SO. There are a few things eluding me, because I'm pretty new to Python.

First, I'm trying to get a simple guestbook app to work. It takes posted variables and puts them into a MySQL database.  Take a look:

    now = datetime.datetime.now()
    timestring = now.strftime("%Y-%m-%d %H:%M:%S")
    con = MySQLdb.connect (host = "localhost",
			user = "Chat",
			passwd = "myPass",
			db = "Chatserver")
    cursor = conn.cursor()
    cursor.execute ("INSERT INTO guestbook (name,date,message) VALUES(%s,%s,%s)",(name,timestring,greeting))
				
Ok, so some of the tutorials and answers on SO have many Quotation marks surrounding the SQL query, and I don't know why that is.  I've tried it with 1 quote, I've tried it with 3 quotes, and it just never works. There are no exception callbacks and the code seems to run, but no records are ever entered into the database.

So my two questions are, how many quotation marks do I need when encapsulating the Queries, and why doesn't my script add anything to the database but not report any errors?
			