首页 > 学院 > 编程设计 > 正文

如何判断发言是否为空?

2020-06-19 13:49:26
字体:
来源:转载
供稿:网友

if len(usersays)<>0 then 
session("whoto")=request.form("whoto") 
session("action")=request.form("action") 
if instr(usersays,chr(39))>0 then 
usersays=replace(usersays,chr(39),"/"&chr(39)) 
end if 
if instr(usersays,chr(34))>0 then 
usersays=replace(usersays,chr(34),"/"&chr(34)) 
end if 

application.lock 

 

[1]

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表