注册提示成功,可是没写进数据库
我发现我的下面这个代码很奇怪:rs("username")=trim(request.form("username"))
rs("password")=trim(request.form("password"))
rs("nickname")=trim(request.form("nickname"))
rs("truename")=trim(request.form("truename"))
rs("email")=trim(request.form("email"))
rs("sex")=trim(request.form("sex"))
rs("birthyear")=trim(request.form("birthyear"))
rs("birthmonth")=trim(request.form("birthmonth"))
rs("birthday")=trim(request.form("birthday"))
rs("mobile")=trim(request.form("mobile"))
rs("homeaddress")=trim(request.form("homeaddress"))
rs("hometel")=trim(request.form("hometel"))
rs("companyaddress")=trim(request.form("companyaddress"))
rs("companytel")=trim(request.form("companytel"))
rs("qq")=trim(request.form("qq"))
rs("homepage")=trim(request.form("homepage"))
rs("selfintro")=trim(request.form("selfintro"))
rs("memo")=trim(request.form("memo"))
如果把上面的代码全部放在程序里,注册提交后是成功的,可是数据库就是什么也没有,如果只留下:
rs("username")=trim(request.form("username"))
rs("password")=trim(request.form("password"))
rs("nickname")=trim(request.form("nickname"))
rs("truename")=trim(request.form("truename"))
rs("email")=trim(request.form("email"))
rs("sex")=trim(request.form("sex"))
就能写如数据库,然后我把后面的代码一行一行加进去测试,有时可以写入,又时候又写不进去,前天这整个代码还是能写进数据库的 啊
帮帮我啊