i m running a mysql database, i create the connections and such using MySQLdb.
 
someone told me that queries like 
 
query = "SELECT * FROM DB WHERE NAME = %s" % (name)
cursor.execute(query)
 
thats the syntax that i use, but someone told me not to use it, i m new to the db accessing thing, so if anyone can plz explain this and also send me an example of how to do this properly, it'll help me quite a lot.
 
 
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to