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 'WHERE _id='' AND _stand_by='0' AND _data_pubblicazione<=CURDATE() AND _data_s...' at line 3