Forum Moderators: open

Message Too Old, No Replies

Database query

display query

         

dlimun

5:42 am on Sep 1, 2004 (gmt 0)



Hi.. I want to display my database contents using keywords and at the same time I want to highlight tye keywords entered by users.

How to do that?

aspdaddy

7:49 pm on Sep 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you mean like search engines? A simple workkaround is to wrap span tags around the keywords.

strContent = Replace(strContent, strKeyword, "<span class=hilite>" & strKeyword & "</span>")