我有在知識家找到相關的解答
-----------底下是其他網友的問題,和我遇到的一樣
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 sort' at line 1
select ncsn,nc_title,enable_group,cate_pic from xoops_tad_news_cate where not_news!='1' and ncsn in() order by sort
這是發生什麼問題了= =
改網頁不小心弄到了= =
怎麼辦==
----底下是最佳解答,但是最後一行我看不懂,不知從何下手
select ncsn,nc_title,enable_group,cate_pic from xoops_tad_news_cate where not_news!='1' and ncsn in() order by sort
where 條件裡面的「 ncsn in() 」如果沒用,拿掉,刮號裡面沒有東西。