一个很简单的判断问题,我晕了!
<%
smt_tm=rs("SMT_tm")
if smt_tm="" then
response.Write("这个用户没TM")
else
response.Write("<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=<%=rs("SMT_tm")%>&Site=www.xxx.com&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:108232841:2 alt="点击这里给我发消息"></a>")
end if
%>
第二个response.Write里的那个<%=rs("SMT_tm")%>是错误的~我知道不能这样写!但是要怎么写啊?这个值是要从数据库中注册用户的那个表里提取出来的,怎么写?求教~谢谢~!!