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:fres...@adex-intl.com] 
Enviada em: terça-feira, 18 de setembro de 2012 09:37
Para: PHP
Assunto: [PHP] 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

Reply via email to