很简单的SQL语句: select top 5 Tid,ID,Title from KS_Article where tid='{$CurrClassID}' order by id desc
比如某栏目id号为:123456
则前台输出标签为: {SQL_111(123456)} 但是打死都出不来数据
而改为: select top 5 Tid,ID,Title from KS_Article where tid='123456' order by id desc
数据出来了,说明语句语法都没错,但是不如上一种方便吧...请朋友们看看我错哪了??