Re: [PHP] Highlight Search Results

2012-09-18 Thread Floyd Resler
On Sep 18, 2012, at 8:42 AM, David OBrien wrote: > On Tue, Sep 18, 2012 at 8:36 AM, Floyd Resler wrote: > > > > 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 maint

RES: [PHP] Highlight Search Results

2012-09-18 Thread Samuel Lopes Grigolato
ro 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? T

Re: [PHP] Highlight Search Results

2012-09-18 Thread David OBrien
On Tue, Sep 18, 2012 at 8:36 AM, Floyd Resler wrote: > > 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! > F

[PHP] Highlight Search Results

2012-09-18 Thread Floyd Resler
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