Código Farmacia Botica
Error(select cofh_articles.ID as idA, cofh_articles.TITLE as tA, cofh_articles.TITLE_SEO as tsA, cofh_articles.SUMARY as resA, cofh_articles.DATE_START as dateA, cofh_articles.THUMBNAIL as image, cofh_articles_sections.ID as idS, cofh_articles_sections.TITLE as tS, cofh_articles_sections.TITLE_SEO as tsS, cofh_articles_sections.THUMB_WIDTH as image_W, cofh_articles_sections.THUMB_HEIGHT as image_H, cofh_paragraphs.TYPE as icon, cofh_paragraphs.TEXT as text from cofh_articles left join cofh_articles_sections on cofh_articles.IDSECTION = cofh_articles_sections.ID left join cofh_paragraphs on cofh_articles.ID = cofh_paragraphs.IDARTICLE and cofh_paragraphs.POSITION = 1 where IDSECTION = 0 and STATUS = 1 and TRASH = 0 and DATE_START <= NOW() and (DATE_END = '00-00-00 00:00:00' or DATE_END >= NOW()) order by DATE_START desc limit 0, ): 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 '' at line 18