Problema apici nelle query. Come risolvere?

PER RISOLVERE IL PROBLEMA DELL'APICE NELLE QUERY

<%

key=request.form("testo")

k = InStr(key, "'")
If k > 0 Then
strbuff = Mid(key, 1, k - 1)
lun_str = Len(key)
For k1 = k To lun_str
car = Mid(key, k1, 1)
If car = "'" Then car = "'" & "'"
strbuff = strbuff & car
Next
key = strbuff
End If

%>

Continua >>>

 

Ti potrebbe interessare anche

commenta la notizia

C'è 1 commento
Sara
Hai dubbi su questo articolo?