ASP中新闻标题显示"NEW"提示asp

/ / 2016-10-11   阅读:2493
如下代码: ================================================== <% If FormatDateTime(now(),2) = FormatDateTime(rs("time") ,2) Then   response.write "NEW" else End if %> ===============...
如下代码:
==================================================
<%
If FormatDateTime(now(),2) = FormatDateTime(rs("time") ,2) Then
  response.write "NEW"
else
End if
%>
=================================================
注:rs("time")-----------------数据库中新闻时间的字段
   response.write "NEW" ------可以输出提示也可以显示图片

我要评论

昵称:
验证码:

最新评论

共0条 共0页 10条/页 首页 上一页 下一页 尾页
意见反馈