codice:
<%
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open strConnString
set srst = my_conn.execute("SELECT * FROM cerca WHERE MATCH(PERSONE) AGAINST('" & chi & "') ORDER BY ID DESC")
If srst.EOF Then
%>
Non trovato
<%
Else
While NOT srst.Eof
ID = srst("ID")
sez = srst("SEZ")
nome = srst("NOME")
persone = srst("PERSONE")
%>
In <% =sez %> trovi il file <% =nome %> in cui si vede <% =persone %>.
<%
srst.MoveNext
Wend
end if
srst.Close
Set srst = Nothing
%>
Risultato, cercavi <% =chi %>!
Il campo dove faccio la ricerca è FULLTEXT... ma anche se il testo è sicuramente presente (lo controllo alla fine) ho sempre risposta nulla.
Dova sbaglio???
GRAZIE!