主题:在做留言系统时遇到的问题
我想在填写页中加上选择头像这一项
<input type="radio" value="1" name="Face" checked><img border=0 src="IMAGES/Face1.gif" width=60>
<input type="radio" value="2" name="Face"><img border=0 src="IMAGES/Face2.gif" width=60>
<input type="radio" value="3" name="Face"><img border=0 src="IMAGES/Face3.gif" width=60>
保存页中验证如下:
……………………
dim Face
Face =Request.Form("Face")
……………………
sql="Insert Into guest (姓名,来自,头像,主页,邮件,主题,留言,IP,系统,留言日期) Values('"& UserName &"','"& LzHf &"','"& Face &"','"& HomePage &"', '"& Email &"','"& Subject &"','"& Ly_str &"','"& IPinfo &"','"& booktype &"','"& bookdate &"')"
Set rs=conn.Execute(sql) '可在调试时提示这一行ADODB.Recordset (0x800A0BB9)
'Unknown runtime error
在数据库中的定义类型没有错,如果屏蔽点头像这一项,留言系统能正常留言,问题就是我在留言填写页添加有头像选择项后就不能留言了,我检查了很久,不得其解,所以发贴求助!
<input type="radio" value="1" name="Face" checked><img border=0 src="IMAGES/Face1.gif" width=60>
<input type="radio" value="2" name="Face"><img border=0 src="IMAGES/Face2.gif" width=60>
<input type="radio" value="3" name="Face"><img border=0 src="IMAGES/Face3.gif" width=60>
保存页中验证如下:
……………………
dim Face
Face =Request.Form("Face")
……………………
sql="Insert Into guest (姓名,来自,头像,主页,邮件,主题,留言,IP,系统,留言日期) Values('"& UserName &"','"& LzHf &"','"& Face &"','"& HomePage &"', '"& Email &"','"& Subject &"','"& Ly_str &"','"& IPinfo &"','"& booktype &"','"& bookdate &"')"
Set rs=conn.Execute(sql) '可在调试时提示这一行ADODB.Recordset (0x800A0BB9)
'Unknown runtime error
在数据库中的定义类型没有错,如果屏蔽点头像这一项,留言系统能正常留言,问题就是我在留言填写页添加有头像选择项后就不能留言了,我检查了很久,不得其解,所以发贴求助!