[求助]急!!如何写新闻详细页的代码?
大家好,我要做一个新闻的详细页,我只写了显示的那一部分,可是新闻分类那一部分我不知道改怎么写了。大家帮帮忙。十万火急!!多谢了!!!!<tr>
<td width="545" height="34" bgcolor="#efefef" style="border-top:3px #00cc00 solid; border-bottom:3px #cccccc solid">
<% set rs=server.CreateObject("adodb.recordset")
sql="select * from SMT_news where SMT_id="&request("id")&""
rs.open sql, conn,1,1
%>
<div align="center" style="font-size: 16px; color: #000000"><span style="font-weight: bold"><%=rs("SMT_title")%></span></div>
<% rs.close
set rs=nothing
%>
</td>
<td width="7"> </td>
<td width="222" height="34" valign="middle"><img src="images/n_3.jpg" width="222" height="31"></td>
</tr>
<tr>
<td width="545" align="center" valign="middle" style="border-left:1px #cccccc solid; border-bottom:1px #cccccc solid; border-right:1px #cccccc solid">
<% set rs=server.CreateObject("adodb.recordset")
sql="select * from SMT_news where SMT_id="&request("id")&""
rs.open sql, conn,1,1
%>
Source:<%=rs("SMT_title")%> Click number of times:<%=rs("SMT_hits")%> Renew time:<%=rs("SMT_date")%></div>
<% rs.close
set rs=nothing
%>
</td>
<td> </td>
<td width="222" height="28" valign="middle" style="border-left:1px #cccccc solid;border-right:1px #cccccc solid"> </td>
</tr>
<tr>
<td width="545" height="28" rowspan="2" valign="middle" style="border-left:1px #cccccc solid; border-bottom:1px #cccccc solid; border-right:1px #cccccc solid">
<% set rs=server.CreateObject("adodb.recordset")
sql="select * from SMT_news where SMT_id="&request("id")&""
rs.open sql, conn,1,1
%> <%=rs("SMT_conten")%>
<% rs.close
set rs=nothing
%>
</td>