RES: [PHP] Highlight Search Results

From: Date: Tue, 18 Sep 2012 12:43:08 +0000
Subject: RES: [PHP] Highlight Search Results
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-319121@lists.php.net to get a copy of this message
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@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

« previous php.general (#319121) next »