Gossamer Forum
Home : Products : DBMan : Customization :

keyword search

Quote Reply
keyword search
I would like to be able to search for multiple words which would be seperated by a comma in the keyword search. I tried splitting the 'keyword' variable by a comma in dg.cgi and then using a for loop to go through the search but that didn't work. Do you have any ideas.
Quote Reply
Re: keyword search In reply to
The easy way to do it is to separate your search terms by a | character and to select the "Reg. Expr" checkbox in the search options part of the form.



------------------
JPD





Quote Reply
Re: keyword search In reply to
In the keyword search the posting of the '|' delimiter between the keywords works, but it outputs all occurences in the database of both words rather than only those records where both words appear. In Yahoo, etc., this is handled by using quotes around the phrase. Anyway DbMan can do the same?
Quote Reply
Re: keyword search In reply to
Oh. You want an "and" search. I thought you wanted an "or" search.

I don't know how to do an "and" search. I understand that Alex is working on that for the next version of DBMan, but I don't know when it will be coming out.


------------------
JPD





Quote Reply
Re: keyword search In reply to
You could try:
http://www.gossamer-threads.com/scripts/forum/resources/Forum12/HTML/000381.html

------------------
JGU