Invalid 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 MENSAJES.ID_MENSAJE= 575445 and (MENSAJES.verificado<>'2' or MENSAJES.' at line 5