Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @app.route("/test/<str:y>")
- def itemCount(y):
- resp1 = ''
- h=0
- db = MySQLdb.connect(host='***', user='****', passwd='****', db='****', charset='utf8')
- cursor = db.cursor()
- cursor.execute('''SELECT `ProductModelPrice`,`productBrand`,`productModelNumber`,`productModelName`,`productCategory`,`img`, `akciya` FROM `images` WHERE `productCategory` = %s ''', y)
Add Comment
Please, Sign In to add comment