Highlighting found search words
| From: | Dave Carrera | Date: | Tue, 04 May 2004 13:45:22 +0000 |
| Subject: | Highlighting found search words | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185306@lists.php.net to get a copy of this message | ||
Hi List,
I have my db which I search for words and that works ok.
What I would like to do is from the results, highlight each word in the
string use in the query.
So if the returned string is.
The quick brown fox jumped of the
And my search was "quick fox"
Then in the returned results "quick fox" would be highlighted where ever
either word occurs in the string.
I am having major probs with this so any help or advice is very much
appreciated.
Thank you in advance for any help
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.676 / Virus Database: 438 - Release Date: 03/05/2004