RES: Highlight Search Results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you're dealing with a high amount of search data, I highly advise you to
use something like SOLR. Match highlighting and a lot of other awesome
things is easy breeze with it.

-----Mensagem original-----
De: Floyd Resler [mailto:fresler@xxxxxxxxxxxxx] 
Enviada em: terça-feira, 18 de setembro de 2012 09:37
Para: PHP
Assunto:  Highlight Search Results

I want to highlight the word searched in search results.  I know I can use
str_ireplace to do a case insensitive search and replace.  However, is there
an easy way to maintain the case of the word found when I do the replace?

Thanks!
Floyd



--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux