you could probably use a str_replace() www.php.net
$description1 = "Episode 1 - Joey eats all of the food
in the house";

Suppose the search term is "food" - just go thru and
replace "food" with "<b>food</b>" or whatever tags you
want to use.

olinux

--- Matt C <[EMAIL PROTECTED]> wrote:
> I have summaries of episodes stored in a database.
> How on earth do I go 
> about highlighting keywords? I mean I have done a
> search and it gives a list 
> of urls:
> 
> episodes.php?id=4&highlight=max
> 
> But how do I get it to go through all the words and
> highlight "max" or 
> whatever keyword it is??
> 
>
_________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to