I have a testing apps which has 2 loops: 1 is gathering the questions, 1 is gathering the answers, something like that:
<% Set RSQ= MyConn.Execute("Select * from Interviuri_Intrebari where ID_Interviu = '"& Request.QueryString("int") &"'") If not RSQ.Eof then RSQ.MoveFirst do Response.Write RSQ("Question") & "<br>" Set RSR = MyConn.Execute("Select * from Interviuri_Raspunsuri where ID_Intrebare = '"&RSQ("ID_Intrebare") &"' AND UserName = '"& Session("UserName") &"'") If not RSR.Eof then RSR.MoveFirst do Response.Write RSR("Raspuns") & "<br>" RSR.MoveNext Loop Until RSR.EOF End IF RSQ.MoveNext Loop until RSQ.Eof End if
|
Well, I need to send all the above test by email. How could I do that? I have tryed to make some strings out of them but to no avail...