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
<!--#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,想把它们求和放在进园人数显示该怎么弄