Salve a tutti,
ho bisogno che abbia il risultato di una SELECT * FROM in formato TESTO e non HTML.
Di seguito vi riporto il codice della pagina che mi da la ricerca.
Grazie anticipatamente.
codice:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Option Explicit
%>
<% Dim QSQuery, QSLast, QSLog, MGR, oreco, QSO, SQN, RS, SQL
QSQuery = Request.Form("iia")
%>
<%
Set RS = Server.CreateObject("ADODB.RecordSet")
SQL = " SELECT * FROM iia WHERE IIA_REF = '" & QSQuery & "' "
Set RS = Conn.Execute(SQL)
if rs.eof then
response.redirect("http://www.iz7auh.com/iia/no_found.asp")
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
</head>
<body>
<%
If Not RS.EOF Then RS.MoveFirst
Do While Not RS.EoF
%>
iia: <%=RS("IIA_REF")%>
</p>
desc. <%=RS("IIA_NAME")%></p>
<%
RS.MoveNext
Loop
%>
</body>
</html>