Ciao a tutti.
Mi riferisco a questo articolo:
http://asp.html.it/articoli/leggi/68...l-giornalista/
Naturalmente l'ho adattato alle mie esigenze ed il valore di strTesto lo prelevo da un db mysql:
Il problema è che nella prima riga della seconda colonna visualizzo il codice con cui è stato formattato il testo al momento della registrazione nel db e cioè così:codice:<% 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 = "" %> <% for ctInd = 0 to intQuante strTesto=strTesto & strParole(ctInd) & " " next %> <%=strTesto%> <% strTesto="" for ctInd = (intQuante + 1) to ubound(strParole) strTesto = strTesto & strParole(ctInd) & " " next %> <%=strTesto%> <% objRs.Close Set objRs = Nothing cn.Close Set cn = Nothing %>
Sapete mica come si possa risolvere questo problema?style="font-size: 12pt;">Quello che è ammirevole,
grazie

Rispondi quotando