Re: [PHP-DB] Searching/keywords

2001-09-20 Thread Jason G.
Just an idea... You could do a str_replace(), replacing " max " with max You may need to use a reg-exp replace function to determine where actual words are like max, vs. substrings like maximus. see http://www.php.net/manual/en/function.str-replace.php for more info... -Jason Garber Lead Pr

Re: [PHP-DB] Searching/keywords

2001-09-20 Thread olinux
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 "food" or whatever tags you want to use. olinux --- Matt C <[EMAIL PROTECTED]> wrote: > I have summar