拉下线奖励积分的asp程序怎么写?
拉一个下线奖励300积分的asp程序怎么写,我是这样写的,为什么会是错误的呢?<%
Set rsb=Server.CreateObject("ADODB.recordset")
mysq="select * from imlm_user where yesno and sx1='"&imlmusername&"'"
rsb.open mysq,conn,1,1
response.write rsb.recordcount&" 人"
update imlm_user set ajine='rsb.recordcount*300+ajine' where yesno and username='imlmusername'
rsb.close
set rsb=nothing%>
‘imlm_user是表名,sx1是上线字段,ajine是积分字段!
错误信息如下:
Microsoft VBScript 编译器错误 错误 '800a0401'
语句未结束
/accounts.asp,行 79 update imlm_user set ajine='rsb.recordcount*300+ajine' where yesno and username='imlmusername'