How to highlight the keyword in search result?

hoangthienphuc's Avatar, Join Date: Mar 2007
Go4Expert Member
I want when i type the keyword and click search button, in result will contain the keyword highlighted that i typed. How can i do that?
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Do you mean to say your own search engine results I guess. If that is the case then, you render the HTML you replace the "search word" with "<strong>search word</strong>"
0
hoangthienphuc's Avatar, Join Date: Mar 2007
Go4Expert Member
Yes! That's i mean but can you tell me more detail? Thanks a lots.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by hoangthienphuc
Yes! That's i mean but can you tell me more detail? Thanks a lots.
What other details you need? I mean its just a regular function call where you replace a word with some other word.