|
主题:SQL调用类别为什么出不来 [收藏主题] | 转到: |
![]() ![]() 查询语句:
select top 1 id,title,intro from KS_Article where tid='{$Param(0)}' order by id desc
循环语句:
[loop=1]<br><div class=title1 style="PADDING-TOP: 10px; HEIGHT: 25px" align=center><a href="{$Field(id,GetInfoUrl,1,1)}">{$Field(title,Text,25,0,0,)}</a></div><br><div class=borbottomda><a href="{$Field(id,GetInfoUrl,1,1)}">{$Field(intro,Text,60,...,0,)}</a></div><br>[/loop]
为什么调用不出来求救了 |
|
![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
|
![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
|
![]() ![]() ![]() ![]() |
![]() |
|
![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
|
![]() ![]() ![]() ![]() |
![]() select top 1 id,title,intro ,NewsID from KS_Article where tid in(select id from KS_class where TS like '%{$Param(0)}%') and Verific=1 and DelTF=0 order by Adddate desc
[loop=1]<br><div class=title1 style="PADDING-TOP: 10px; HEIGHT: 25px" align=center><a href="{$Field(NewsID,GetInfoUrl,1,1)}">{$Field(title,Text,25,0,0,)}</a></div><br><div class=borbottomda><a href="{$Field(NewsID,GetInfoUrl,1,1)}">{$Field(intro,Text,60,...,0,)}</a></div><br>[/loop] |
|
![]() ![]() ![]() ![]() |
![]() |
|
![]() ![]() ![]() ![]() |
<上一主题 | 下一主题 > |