报错如下:
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 '' at line 1<br>select * from ***_ecms_news where title='hhhhhhuuuhuhu' and classid=
先用grep 命令查找是哪个文件在调用这条sql语句:
然后在相对应的文件中进行拍错