Error en la consulta de conteo alternativo de registros: SELECT idNoticia, Titulo, LEFT(Texto,220) AS Texto, DATE_FORMAT(Fecha,'%d/%m/%Y') AS Dia FROM Noticias WHERE Proyecto = 0 AND idNoticia != ORDER BY Fecha DESC. Mysql dijo: 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 'ORDER BY Fecha DESC' at line 1