Re: Searching/keywords

From: Date: Thu, 20 Sep 2001 23:58:08 +0000
Subject: Re: Searching/keywords
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12627@lists.php.net to get a copy of this message
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 <matthewcothier@hotmail.com> 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: > php-db-unsubscribe@lists.php.net > For additional commands, e-mail: > php-db-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/

« previous php.db (#12627) next »