Error: Unable to perform query: SELECT amount1,ids FROM pdevents WHERE evNum= AND flavor='' :You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND flavor=''' at line 1