SELECT a.id FROM bh_articles a, cate_forex_fr i WHERE i.forex_news/5_fr!='' AND a.id=i.article_id
Unknown column 'i.forex_news' in 'where clause'
SELECT a.id,a.title,a.timestamp,a.keywords,a.summary,a.category_id,a.reporter_name,a.urlinfo FROM bh_articles a, cate_forex_fr i WHERE i.forex_news/5_fr!='' AND a.id=i.article_id ORDER BY a.timestamp DESC LIMIT 20,-20
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 '-20' at line 2

International Business Times© 2012 The IBTimes, France. Tout droits réservés.