SQL: SELECT news.news_id AS news_id, head_line, top_shoulder, news_details, media FROM news WHERE news_status = 'published' AND news_pd_id = 3124 AND news_cat_id = ORDER BY publication_date ASC Error: 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 'ORDER BY publication_date ASC' at line 11