%@ Language=VBScript %> <% Option Explicit %> <% Response.Expires = 0 %> <% Dim oCs, oRs, strSQL, oDs, oSs, stmysqli_fetch_array set oCs = server.createobject("ADODB.Connection") oCs.Open "Driver={Microsoft Excel Driver (*.xls)}; DBQ=" & Server.MapPath("/season/01-02/data") & "/stats01-02.xls;" stmysqli_fetch_array = "SELECT * FROM [BadBoys$] WHERE Player <> '0' ORDER BY Num ;" Set oSs = oCs.Execute(stmysqli_fetch_array) set oDs = server.createobject("ADODB.Connection") oDs.Open "Driver={Microsoft Excel Driver (*.xls)}; DBQ=" & Server.MapPath("/season/01-02/data") & "/res_01-02.xls;" strSQL = "SELECT * FROM [ResApps$] WHERE Player <> '0' ORDER BY Index ;" Set oRs = oDs.Execute(strSQL) %>