Ошибка в SQL
SELECT id,pid,title,date,note,CONCAT("","news") as module FROM news WHERE pid="" AND id <> ORDER BY date desc LIMIT 0,4
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 date desc LIMIT 0,4' at line 4