<%
dim Infoid,ChannelID,Infoaid,ChannelaID
Infoid=request("Infoid")
ChannelID=request("ChannelID")
Infoaid=request.Form("Infoaid")
ChannelaID=request.Form("ChannelaID")
if Infoid=Infoaid and ChannelID=ChannelaID then
Response.Write("
<tr>
<td>{$Field(adddate,Date,YYYY-MM-DD-hh:mm:ss)}</td>
<td>{$Field(ks_xiangmu,Text,0,...,0,)}</td>
<td>{$Field(ks_user,Text,1,...,0,)}</td>
<td>{$Field(ks_tell,Text,3,...,0,)}</td>
</tr>
")
else
Response.Write("
<tr style="display: none;">
<td>{$Field(adddate,Date,YYYY-MM-DD-hh:mm:ss)}</td>
<td>{$Field(ks_xiangmu,Text,0,...,0,)}</td>
<td>{$Field(ks_user,Text,1,...,0,)}</td>
<td>{$Field(ks_tell,Text,3,...,0,)}</td>
</tr>")
%>
本人是网站设计菜鸟
这段代码是在网上下载 自己修改了一下,