% set mycon=Server.CreateObject("ADODB.Connection") mycon.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("\fpdb\CyberSchool.mdb")) set school= mycon.execute("select * from pic where PicID =" & Request.QueryString("num")) set temp= mycon.execute("select * from cyberschools where ID =" & Request.QueryString("num")) school_name = temp("school_name") id = Request.QueryString("num") color = temp("school_color1") address = temp("address") state = temp("state") city = temp("city") content = temp("photo_gallery") %>
![]() |
|
|||||
|
<%=content%>
<% while not school.EOF %> <%=school("Heading1")%><%=school("Description1")%><% count = school("NumberOfPics1") for i = 1 to count source = school("PicID") & "_H1_" & i & ".jpg" %> <%=school("Heading2")%><%=school("Description2")%><% count = school("NumberOfPics2") for i = 1 to count source = school("PicID") & "_H2_" & i & ".jpg" %> <%=school("Heading3")%><%=school("Description3")%><% count = school("NumberOfPics3") for i = 1 to count source = school("PicID") & "_H3_" & i & ".jpg" %> <%=school("Heading4")%><%=school("Description4")%><% count = school("NumberOfPics4") for i = 1 to count source = school("PicID") & "_H4_" & i & ".jpg" %> <%=school("Heading5")%><%=school("Description5")%><% count = school("NumberOfPics5") for i = 1 to count source = school("PicID") & "_H5_" & i & ".jpg" %> |
||||||
|
Main Page
|
|
|||||
|