% Response.CacheControl = "no-cache" Response.AddHeader "Pragma", "no-cache" Response.Expires = -1 Dim CONN, strDSN, strSQL, RS, RSArray, RecNum, iRec, strSort, sWhere sWhere = Request.QueryString("UserID") set CONN = server.createobject("adodb.connection") StrDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\inetpub\vhosts\betterlight.com\httpdocs\usergallery\_private\gallery.mdb" CONN.Open StrDSN sSQLstmt = "SELECT * FROM Users2 Where UserId =" sSQLstmt = sSQLstmt & sWhere Set RS = CONN.execute(sSQLstmt) RSArray = RS.getrows(,,Array("userID","User","Company","Address","City","State","Postal_Code","Country","Phone","Email","Website","Specialty","HeadShot","Image1","Image2","Image3","Image4","Image5","Image6")) RS.MoveFirst RecNum = UBOUND(RSArray,2) %>
![]() |
|||
|
|
| <% if RSArray(12,0) <> "" then %> |
<%=RSArray(1,0)%> <%=RSArray(2,0)%> <%=RSArray(3,0)%> |
| <% if RSArray(9,0) <> "" then Response.Write"email: " & RSArray(9,0) & "" end if %> | |
| <% if RSArray(10,0) <> "" then Response.Write"website: " & RSArray(10,0) & "" end if %> | |
| <% if RSArray(11,0) <> "" then Response.Write"specialty: " & RSArray(11,0) & "" end if %> | |