我按你的要求,在自已的电脑上用自已的数据库照你的方式写了一段,可以的呀
<%
if request.form("fhcpsn")<>"" then
set rs=server.CreateObject("adodb.recordset")
id=request.form("fhcpsn")
cpid=split(id,",")
for i=lbound(cpid) to ubound(cpid)
text=cpid(i)
sql="update book set name='好呀好呀' where id="&text
rs.open sql,conn,1,3
next
response.write(i&"条被更新")
end if
%>
但如果是我写,就不会写这么复杂了
if request.form("fhcpsn")<>"" then
set rs=server.CreateObject("adodb.recordset")
id=request.form("fhcpsn")
sql="update book set name='为人人人人人' where id in ("&id&")"
rs.open sql,conn,1,3
end if
还有,你看一下request.form("fhcpsn")这个传过来的是不是数字如果是数字把单引号去掉