12.03.2018, 12:06
you're inserting floats and integers into your database as a string
this should fix it:
also I see that you're using %s to insert the vehicle plate, I'd advise against the use of %s in queries. (use %e to prevent sql injection)
this should fix it:
Код:
VALUES ('%e', %d, %f, %f, %f, %f, %d, %d, %d, %d, %d, %d, '%s')