<%@ Language=VBScript %> <% Option Explicit %> <% Dim RS, strSQL , intState intState = 1 if REQUEST("intState") <>"" then if IsNumeric(REQUEST("intState")) then intState = REQUEST("intState") end if my_conn.Open ConnString %>
Select Course

Please select the course

<% set RS = server.CreateObject("ADODB.RecordSet") strSQL = "SELECT qeyCourseDetail.*, tblCourse.* from qeyCourseDetail INNER JOIN tblCourse on tblCourse.intID = qeyCourseDetail.intCourse where intState = " & intState & " order by qeyCourseDetail.dteStart" 'Response.Write strSQL 'Response.End() set RS = my_conn.Execute(strSQL) Do While (Not RS.EOF) %> <% RS.MoveNext loop RS.Close() set RS = nothing %>
Name:<%=RS("strCourse")%>
Date:<%=formatDate("%l, %F %d %Y",RS("dteStart"))%>
Address:<%=RS("strAddress1")%>
<%=RS("strAddress2")%>, <%=RS("strCity")%>, <%=RS("strShort")%>, <%=RS("strPostCode")%>
Time:<%=RS("strTime")%>
Cost:<%=RS("strCost")%>
What included:
<%=modifyReturn(RS("strInclude")&"")%>
Course Outline:
<%=modifyReturn(RS("strOutLine")&"")%>
" onMouseOver="MM_swapImage('regibuton1','','registerbutton2.jpg',1)" onMouseOut="MM_swapImgRestore()">
 

<% my_conn.close set my_conn = nothing %>