Everything Mining Industry Country Focus How to Guide
Intelligence on industry and mining
Database Reporting
Database Reporting
SQL ERROR [ mysqli ]

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 'AND (ar_derived = 0 || FIND_IN_SET('42', ar_re) > 0) AND a_id = ar_aa_id AN' at line 10 [1064]

SELECT a_id, a_id_word, a_slug, a_headline, a_sub_headline, a_abstract, a_author, a_publish_date, a_has_video, a_has_audio, ar_re, ar_has_video, ar_has_audio FROM pr_articles, pr_article_relate_assoc, pr_article_media_assoc WHERE ama_a_id = a_id AND ama_mt_id = 2 AND ar_a_id = AND (ar_derived = 0 || FIND_IN_SET('42', ar_re) > 0) AND a_id = ar_aa_id AND ar_has_video = 0 AND ar_has_audio = 0 ORDER BY a_publish_date DESC LIMIT 0, 20

Latest content...

Register for daily alerts on news as it breaks in various key economic sectors - Click here to register