<!--#include file="webconn.asp"-->
<%
vote=request("vote")
if vote="" then
response.Write("<script>alert('请选择你要投票的选项');history.go(-1);</script>")
else
set rs=server.CreateObject("adodb.recordset")
sql="select * from vote where v_id="& vote
rs.open sql,conn,1,3
num=rs("v_num")
rs("v_num")=num+1
rs.update
rs.close
set rs=nothing
response.Write("<script>alert('谢谢您的建议或意见');location='index.asp';</script>")
end if
%>