Re: Highlighting search results ???
| From: | DL Neil | Date: | Wed, 17 Oct 2001 18:30:14 +0000 |
| Subject: | Re: Highlighting search results ??? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13437@lists.php.net to get a copy of this message | ||
I have my search engine working great (Abit like Google) but how do I highlight in the results the
keywords I searched
for? This is a must for my search engine.
Chris,
How about using one of the string search and replace functions to wrap the keyword within
<strong> tags - looping
through multiple keywords if relevant.
=dn