SyntaxFix
Write A Post
Hire A Developer
Questions
Just use the below formation###
rules_id = ["9","10"] sql2 = "SELECT * FROM attendance_rules_staff WHERE id in"+str(tuple(rules_id))
note the str(tuple(rules_id)).
str(tuple(rules_id))