SELECT n.*, e.slug entity_slug, e.title entity_title, e.logo entity_logo, nt.title need_type_title, c.title city_title , UNIX_TIMESTAMP(n.created) unix_fecha_creacion, UNIX_TIMESTAMP(n.fecha_objetivo) unix_fecha_objetivo FROM need_types nt , entities e , cities c , needs n WHERE n.published=true AND n.status='O' AND n.need_type_id=nt.id AND n.entity_id=e.id AND n.city_id = c.id order by n.created desc limit -15,15,
Error en mysql: 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 '-15,15' at line 18