I have a field.char and I want to save the user input into database.
the querie I use is this: cr.execute("INSERT INTO gs_recintos (code) VALUES (%s)",(user_input))
so how can I fill the database with the user input on the field code?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/19/14, 6:00 AM|
|Seen: 587 times|
|Last updated: 3/16/15, 8:10 AM|