语法错误 (操作符丢失) 在查询表达式 'id=' 中 30
<%ifnotsession("checked")="yes"thenresponse.Redirect"denglu.asp"else%><!--#includefil...
<%
if not session("checked")="yes" then
response.Redirect "denglu.asp"
else
%>
<!-- #include file="upload_5xsoft.inc" -->
<%
dim upload,p_id,p_instr,uploadpath,jpeg,exec
set upload=new upload_5xsoft
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("admin.mdb")&";password=111"
set rs=server.createobject("adodb.recordset")
id=upload.form("id")
exec="select * from hmc where id="&id""
rs.open exec,conn,1,3
提示我是行18,也就是最后一句。但是实在不知道应该怎么改这段。求高手帮忙 展开
if not session("checked")="yes" then
response.Redirect "denglu.asp"
else
%>
<!-- #include file="upload_5xsoft.inc" -->
<%
dim upload,p_id,p_instr,uploadpath,jpeg,exec
set upload=new upload_5xsoft
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("admin.mdb")&";password=111"
set rs=server.createobject("adodb.recordset")
id=upload.form("id")
exec="select * from hmc where id="&id""
rs.open exec,conn,1,3
提示我是行18,也就是最后一句。但是实在不知道应该怎么改这段。求高手帮忙 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询