Errormessage: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-16,16' at line 19 Problem with Query: SELECT *,GROUP_CONCAT(bc.blog_categorias_url SEPARATOR \'&\') AS cate_url,GROUP_CONCAT(bci.blog_categorias_idiomas_nombre SEPARATOR \'&\') AS cate_enlace \r\n FROM \r\n blog_categorias_idiomas bci, \r\n blog_categorias bc, \r\n blog_posts_categorias bpc, \r\n blog_posts bp, \r\n blog_posts_idiomas bpi \r\n where \r\n\r\n bp.blog_posts_id=bpi.blog_posts_idiomas_post_id and \r\n bpi.blog_posts_idiomas_idiomas_id=1 and \r\n\r\n bp.blog_posts_id=bpc.blog_posts_categorias_post_id and \r\n bpc.blog_posts_categorias_categoria_id=bc.blog_categorias_id and \r\n bc.blog_categorias_id=bci.blog_categorias_idiomas_categorias_id and \r\n bci.blog_categorias_idiomas_idiomas_id=1\r\n \r\n and bc.blog_categorias_url=\'sesiones\' and bc.blog_categorias_id=bpc.blog_posts_categorias_categoria_id group by blog_posts_id \r\n order by blog_posts_time_creation desc limit -16,16