Error at 2020-10-21 12:29:54:

Query: SELECT COUNT(*) AS total FROM novedad WHERE novedad.categoria_id='2' eliminado = 0
Error: 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 'eliminado = 0' at line 1

CUI - Centro Universitario de Idiomas :: Cursos de Inglés, Portugués, Frances, Italiano, Chino, Alemán y Español

NOVEDADES



Error at 2020-10-21 12:29:54:

Query: SELECT novedad.* FROM novedad Left join novedad_categoria on novedad.categoria_id = novedad_categoria.id AND eliminado=0 WHERE novedad.categoria_id='2' eliminado = 0 Order by id DESC LIMIT 0,2
Error: 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 'eliminado = 0 Order by id DESC LIMIT 0,2' at line 1