如何判断发言是否为空?
编程学习 2021-07-05 11:26www.dzhlxh.cn编程入门
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]
上一篇:如何判断用户是否非正常离开聊天室?
下一篇:如何编写一个最简单的聊天程序?