Highlight Search Results
| From: | Floyd Resler | Date: | Tue, 18 Sep 2012 12:36:49 +0000 |
| Subject: | Highlight Search Results | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-319119@lists.php.net to get a copy of this message | ||
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