Errore della query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND pubblica=1 ORDER BY data DESC LIMIT 10' at line 1.SELECT r.dal, r.al, r.cliente, r.testo, r.data, r.voto, s.nome FROM recensione as r inner join struttura as s on r.id_struttura = s.id WHERE id_struttura = AND pubblica=1 ORDER BY data DESC LIMIT 10