求助大神
asp吧
全部回复
仅看楼主
level 1
hujj1991 楼主
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/conn.asp" -->
<%
var coming = Server.CreateObject("ADODB.Recordset");
coming.ActiveConnection = MM_conn_STRING;
coming.Source = "select tickets,tdtickets from sys_tickets where id= (select max(id) from sys_tickets)";
coming.CursorType = 0;
coming.CursorLocation = 2;
coming.LockType = 1;
coming.Open();
var coming_numRows = 0;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>进园人数</title>
</head>
<body>
进园人数:
</body>
</html>
<%
coming.Close();
%>
已经select tickets和tdtickets,想把它们求和放在进园人数显示该怎么弄
2018年10月02日 01点10分 1
level 7
不是两个值相加吗?
2018年12月13日 16点12分 3
level 4
你在逗我
2019年05月08日 18点05分 4
1