A Database Error Occurred

Error Number: 1064

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 'with-standing-ovation AND news_upldtime <= NOW() AND ns.news_status=1 ORDER BY ' at line 1

SELECT ns.news_id FROM news ns LEFT JOIN newscategory nc ON ns.news_id=nc.news_id WHERE nc.cat_id=Pope-Francis-closing-synod-speech-received-with-standing-ovation AND news_upldtime <= NOW() AND ns.news_status=1 ORDER BY news_upldtime

Filename: /home/heraldftp/public_html/models/ui_newscategory_model.php

Line Number: 6