当前位置: 首页 > 图文教程 > 网络编程 > 编程10000问 > 如何判断发言是否为空?

编程10000问
ASP问答集
asp中在JScript中使用RecordSet对象的GetRows
oblog_4.6_SQL 语句

编程10000问 中的 如何判断发言是否为空?


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-10   浏览: 24 ::
收藏到网摘: n/a

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]