Query: "SELECT * FROM cfc_incarichi WHERE tipo='n' AND ((citta LIKE '%%') AND (provincia LIKE '%%')) AND tipologia='' AND contratto='' AND (locali LIKE '%') AND (mq between AND ) AND (prezzo between AND ) AND (bagni LIKE '%') AND ( data > DATE_SUB(NOW(), INTERVAL 1 WEEK)) order by locali "
Errore: 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 ) AND (prezzo between AND ) AND (bagni LIKE '%') AND ( data > DATE_SUB(N' at line 1