%@LANGUAGE="VBSCRIPT"%> <% Response.Expires = 0 %> <% Dim Recordset1__MMColParam Recordset1__MMColParam = "-1" if (Request("MM_EmptyValue") <> "") then Recordset1__MMColParam = Request("MM_EmptyValue") %> <% set Recordset1 = Server.CreateObject("ADODB.Recordset") Recordset1.ActiveConnection = MM_Orange_STRING Recordset1.Source = "SELECT * FROM Deals WHERE SpecialDeal = " + Replace(Recordset1__MMColParam, "'", "''") + "" Recordset1.CursorType = 0 Recordset1.CursorLocation = 2 Recordset1.LockType = 3 Recordset1.Open() Recordset1_numRows = 0 %> <% dim strcounter, strarray(3,3) strcounter = 0 While Not Recordset1.EOF strarray(strcounter,0) = Recordset1("ID") strarray(strcounter,1) = Recordset1("Tumbnail") strarray(strcounter,2) = Recordset1("Vehiclename") strarray(strcounter,3) = Recordset1("PricePerMonth") strcounter = strcounter + 1 Recordset1.MoveNext Wend %>