Hi,
I have a search feature which searches for the URL from a database. I am able to get all the results from the database with the closest matches. However is there a way I can highlight the words in bold so that in a list of URLs return, it shows the URLs and the matched word.
Display of results:
I have a search feature which searches for the URL from a database. I am able to get all the results from the database with the closest matches. However is there a way I can highlight the words in bold so that in a list of URLs return, it shows the URLs and the matched word.
Code:
SELECT URL
FROM Link
WHERE (URL LIKE '%FDA%')
ORDER BY URL DESC
Display of results:
Code:
If Not rsResults.EOF Then
Do while not rsResults.EOF
%>
Response.Write rsResults("URL") & "<br />"
<%
rsResults.MoveNext
Loop
Else
%>
<div class="section_message">
<ul><li class="message_info"><b>There are no records!</b></li></ul>
</div>
<%
End If