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 'ORDER BY `displayorder` DESC, `id` DESC LIMIT 4' at line 5

SELECT `id`, `dname`, `cover` FROM (`lee_www_designer`) WHERE `recommend` = 1 AND `id` != ORDER BY `displayorder` DESC, `id` DESC LIMIT 4

Filename: /www/web/htzs_cn/application/controllers/mansion.php

Line Number: 206