Hi

I am using python to interact with mysql and have a small problem ahich I am 
hoping someone can help me with:

Basically I am trying to input values into a table which I have created, the 
value is www.breakbeat.co.uk.  The way I have done this is to assign the url 
to a variable: url1.  and then using the following command:

cursor.execute('insert into web_tuple1 url=%s' % (url1),)

web_tuple1 is the name of the table, and url is the name of the column.

I thought about using the INTO command, but I dont understand how to write 
it correctly(I looked in the documentation but don't understand it)

Help would be appreciated, thanks
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to