how do i write multiple conditions in single sql query to get data - Python mysql
问题 I am in a dilema that how could i writ such sql queries to make a seach. I have tried and posted it, but it not as expected when user enter data in multiple field of a form and make a search. The query which i wrote form for a single form field and makes a search and display #!/usr/bin/python import cgi import MySQLdb class Table(): def __init__(self, host, user, passwd, name): self.db = MySQLdb.connect(host = host, user = user, passwd = passwd, db = name) self.cursor = self.db.cursor() def