【救助】ASP函数相加
如图,救助
假设 one=1
two=2
three=3
four=4
mail=one+two+three+four
可这mail结果是1234 而不是10
2011-09-20 10:50
程序代码:<%
id=request.querystring("id")
set rs=server.createobject("adodb.recordset")
sql="select * from consultation where id="&id&""
rs.open sql,conn,1,3
one=rs("one")
two=rs("two")
three=rs("three")
four=rs("four")
mail=one + two + three + four
%>
2011-09-20 11:08
2011-09-20 11:11