SQL="insert into buser([UserId],[Userpw1],[Userpw2],[Userfirstname],[Userlastname],[Sex],[Userstate],[Address],[Postcode],
[User_question],[User_answer],[Birthmonth],[Birthdate],[Birthyear],[Zip],[Alt_email])values('"&UserId&"','"&Userpw1&"','"&Userpw2&"','"&Userfirstname&"','"&Userlastname&"','"&Sex&"','"&Userstate&"','"&Address&"','"&Postcode&"','"&User_question&"','"&User_answer&"','"&Birthmonth&"','"&Birthdate&"','"&Birthyear&"','"&Zip&"','"&Alt_email&"')"-------
你上面的表达我看不清。错就在这里。

解决方案 »

  1.   

    错误类型:
    Microsoft VBScript 编译器错误 (0x800A0409)
    未结束的字符串常量
    /test/reg_save.asp, line 22, column 122
    SQL="insert into buser([UserId],[Userpw1],[Userpw2],[Userfirstname],[Userlastname],[Sex],[Userstate],[Address],[Postcode],
    -------------------------------------------------------------------------------------------------------------------------^
    浏览器类型:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; TencentTraveler ) 网页:
    POST 208 ??? /test/reg_save.aspPOST Data:
    UserId=yjyjju&Userpw1=&Userpw2=&Userfirstname=&Userlastname=&sex=1&Userstate=&Email=&Address=&Postcode=&User_question=&User_answer=&Birthmonth=12&Birthdate=31&Birthyear=&Zip=&Alt_email=&buser=true&ok= . . .