主题:  如何实现5d中的这种效果呢!?

benph

职务:普通成员
等级:1
金币:0.0
发贴:47
注册:2002/9/12 1:57:47
#12003/3/24 22:09:30
在5D的论坛发表中可以得到发表人的资料,如果发表人有QQ号码,那么相关的图相就会显示出来,这种效果该如何现实现呢!?

编辑历史:[这消息被benph编辑过(编辑时间2003-03-24 22:13:07)]


现在设计

职务:普通成员
等级:2
金币:10.0
发贴:538
注册:2001/8/3 8:32:32
#22003/3/25 9:43:43
<% dim oicq
oicq=rs.Fields.Item("oicq").value
if oicq <> "" then
Response.Write ("")
end if %>
这只是一个范例
dim oicq
oicq=rs.Fields.Item("oicq").value 设纪录rs.Fields.Item("oicq").value为变量OICQ。
if oicq <> "" then
Response.Write ("")
end if 如果变量OICQ值不为空则执行img src='img/oicq.gif'



benph

职务:普通成员
等级:1
金币:0.0
发贴:47
注册:2002/9/12 1:57:47
#32003/3/25 11:16:05
但是还要提供发信功能哦!?



现在设计

职务:普通成员
等级:2
金币:10.0
发贴:538
注册:2001/8/3 8:32:32
#42003/3/25 11:27:16
dim mail
mail=rs.Fields.Item("mail").value

("")