Si รจ generato un errore.
Per risolverlo =148000 AND prezzo_euro<=222000 ORDER BY datadiaggprezzo DESC, ID DESC LIMIT 0,18&e=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 '(OR (usoimmob LIKE 'appartament%' OR usoimmob LIKE 'monolocal%' OR usoimmob LIKE' at line 1' target='_blank' onclick='history.go(-1)'>contatta Neox.
Ci scusiamo per l'inconveniente.


SELECT * FROM immobili WHERE (npratica LIKE 'CGB%') AND NOT (visibilesito IS NULL OR visibilesito='') AND tipomediaz = 'vendita' AND ((usoimmob LIKE 'appartament%' OR usoimmob LIKE 'monolocal%' OR usoimmob LIKE 'bilocal%' OR usoimmob LIKE 'trilocal%' OR usoimmob LIKE 'vill%' OR usoimmob LIKE '%porzione%' OR usoimmob LIKE '%indipendente%' OR usoimmob LIKE '%rustico%' OR usoimmob LIKE '%familiare%') AND (cantiere IS NULL OR cantiere ='') (OR (usoimmob LIKE 'appartament%' OR usoimmob LIKE 'monolocal%' OR usoimmob LIKE 'bilocal%' OR usoimmob LIKE 'trilocal%') AND NOT usoimmob LIKE '%mansardat%')) AND prezzo_euro>=148000 AND prezzo_euro<=222000 ORDER BY datadiaggprezzo DESC, ID DESC LIMIT 0,18

ha generato il seguente errore

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 '(OR (usoimmob LIKE 'appartament%' OR usoimmob LIKE 'monolocal%' OR usoimmob LIKE' at line 1