怪问题!为什么数据无法写入数据库?
我用INSERT INTO向表中插入数据,现在没报语法错误了,为什么数据没写入表中?插入代码是这样的:
<%j=1
for i=0 to UBound(show)-1 step 5
'response.write "<font color=red>"& mymonth(j-1)& "</font>"
'response.write show(i+4)&"<br>"
mysql="INSERT INTO paidfee(number,month,shdfee) VALUES('"& telephone &"','"& mymonth(j-1)&"',"& show(i+4) &")"
'Set rs=Conn.Execute(mysql)
rs.open sql,conn,3,1
'response.write mysql
'ok=1
rs.close
j=j+1
next
'if ok=1 then
'response.write "hello,world!"
'response.end
'end if
'打注释标记的地方是测试语句,测试结果都是对的。但数据并未写入数据库,是参数不对吗?