Python Forum
Problem with quotes on MySQL request
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with quotes on MySQL request
#5
Try
SQL="SELECT %s FROM %s WHERE %s LIKE %s" % (tri, table, filtre, mot)
cursor.execute(SQL) 
Reply


Messages In This Thread
RE: Problem with quotes on MySQL request - by woooee - Jun-19-2018, 04:33 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020