I am faced with an serious issue in my current project.
The data is sent to php via ajax, the problem is that sometimes, I havn't found a common denominator, the data is recived and decoded with json_decode and then utf8_decode and when the query is executed all the data is empty. The data is allways correct before it's sent.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: