1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
<h2>Test 1</h2>
<%
id=1
SQL_query = "SELECT * FROM " & TABLE _
& " WHERE id = " & id
Set RS = MyConn.Execute(SQL_query)
If (not RS.eof) Then
applicant_name = RS("applicant_name")
applicant_address = RS("applicant_address")
applicant_phone = RS("applicant_phone")
applicant_mobile = RS("applicant_mobile")
applicant_fax = RS("applicant_fax")
applicant_website = RS("applicant_website")
applicant_email = RS("applicant_email")
End If
RS.close
set RS = nothing
%>
<p><%=applicant_name%></p>
<p><%=applicant_address%></p>
<p><%=applicant_phone%></p>
<p><%=applicant_mobile%></p>
<p><%=applicant_fax%></p>
<p><%=applicant_website%></p>
<p><%=applicant_email%></p>
<h2>Test 2</h2>
<%
SQL_query = "SELECT * FROM " & TABLE _
& " WHERE id = " & id
Set RS = MyConn.Execute(SQL_query)
If (not RS.eof) Then
applicant_website = RS("applicant_website")
applicant_fax = RS("applicant_fax")
applicant_phone = RS("applicant_phone")
applicant_address = RS("applicant_address")
applicant_mobile = RS("applicant_mobile")
applicant_email = RS("applicant_email")
applicant_name = RS("applicant_name")
End If
RS.close
set RS = nothing
%>
<p><%=applicant_name%></p>
<p><%=applicant_address%></p>
<p><%=applicant_phone%></p>
<p><%=applicant_mobile%></p>
<p><%=applicant_fax%></p>
<p><%=applicant_website%></p>
<p><%=applicant_email%></p>
<h2>Test 3</h2>
<%
SQL_query = "SELECT applicant_website, applicant_fax, applicant_phone, applicant_address, applicant_mobile, applicant_email, applicant_name FROM " & TABLE _
& " WHERE id = " & id
Set RS = MyConn.Execute(SQL_query)
If (not RS.eof) Then
applicant_website = RS("applicant_website")
applicant_fax = RS("applicant_fax")
applicant_phone = RS("applicant_phone")
applicant_address = RS("applicant_address")
applicant_mobile = RS("applicant_mobile")
applicant_email = RS("applicant_email")
applicant_name = RS("applicant_name")
End If
RS.close
set RS = nothing
%>
<p><%=applicant_name%></p>
<p><%=applicant_address%></p>
<p><%=applicant_phone%></p>
<p><%=applicant_mobile%></p>
<p><%=applicant_fax%></p>
<p><%=applicant_website%></p>
<p><%=applicant_email%></p> |
Partager