Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   How to highlight the keyword in search result? (http://www.go4expert.com/forums/highlight-keyword-search-result-t5825/)

hoangthienphuc 13Aug2007 05:47

How to highlight the keyword in search result?
 
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?

shabbir 13Aug2007 08:50

Re: How to highlight the keyword in search result?
 
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>"

hoangthienphuc 13Aug2007 10:24

Re: How to highlight the keyword in search result?
 
Yes! That's i mean but can you tell me more detail? Thanks a lots. :confused:

shabbir 13Aug2007 11:17

Re: How to highlight the keyword in search result?
 
Quote:

Originally Posted by hoangthienphuc
Yes! That's i mean but can you tell me more detail? Thanks a lots. :confused:

What other details you need? I mean its just a regular function call where you replace a word with some other word.


All times are GMT +5.5. The time now is 12:02.