Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 'ORDER BY NEWS.created_at DESC LIMIT 20' at line 6 in /home4/watchgha/public_html/libs/Database.php:95
Stack trace:
#0 /home4/watchgha/public_html/libs/Database.php(95): PDOStatement->execute()
#1 /home4/watchgha/public_html/models/en_model.php(182): Database->select('SELECT NEWS.*,\n...')
#2 /home4/watchgha/public_html/controllers/en.php(106): En_Model->drecent(NULL)
#3 /home4/watchgha/public_html/libs/Bootstrap.php(131): En->details('10754', 'my-5-bedroom-ho...')
#4 /home4/watchgha/public_html/libs/Bootstrap.php(30): Bootstrap->_callControllerMethod()
#5 /home4/watchgha/public_html/index.php(34): Bootstrap->init()
#6 {main}
thrown in /home4/watchgha/public_html/libs/Database.php on line 95