Problem with output text
Hi all.
I have this page ASP:
The output is the text divided on two columns as a image attached in this thread.
My problem is that in the first row of the second column I see formatted text registering in db, for example:
Can you help me?
Viki
Hi all.
I have this page ASP:
Code:
<!-- #include virtual="/include/conn_mysql.asp"-->
<%
response.Expires = -1500
response.AddHeader "PRAGMA", "NO-CACHE"
response.AddHeader "CACHE-CONTROL", "PRIVATE"
response.CacheControl = "PRIVATE"
session.LCID = 1040
strCod = request.querystring("id")
strSQL = "SELECT * FROM tbl_1 WHERE id = " & strCod
Set objRs = Server.CreateObject("ADODB.Recordset")
objRs.Open strSQL, cn
strArticolo = objRs("testo")
strParole = split(strArticolo," ")
intParole = ubound(strParole)
intQuante = cint( intParole / 1.9 )
ctind = 0
strTesto = ""
%>
<!-- code HTML -->
<%
for ctInd = 0 to intQuante
strTesto=strTesto & strParole(ctInd) & " "
next
%>
<!-- first column -->
<%=strTesto%>
<%
strTesto=""
for ctInd = (intQuante + 1) to ubound(strParole)
strTesto = strTesto & strParole(ctInd) & " "
next
%>
<!-- second column -->
<%=strTesto%>
<%
objRs.Close
Set objRs = Nothing
cn.Close
Set cn = Nothing
%>
My problem is that in the first row of the second column I see formatted text registering in db, for example:
style="font-size: 12pt;">text, text, text....
Viki
Comment