Gossamer Forum
Home : Products : DBMan : Discussions :

how to search for keywords, only if field2=active?

Quote Reply
how to search for keywords, only if field2=active?
I am just starting to learn DBMan so I can add a public search function for a pre-existing database.

I am currently using a query like:
http://mydomain.com/cgi-bin/db.cgi?db=default&keyword=kayak&view_records=View+Records which works great, except that I need to only return results which have status=active (field 2 in the db is named status, and sites are either active or inactive. I don't want the inactive sites showing up in the search results as these have not been validated yet.)

How can this be done?

P.S. I am searching by keywords because I need to search the Title, Description, and URL fields from one public search form field. Thanks.

Subject Author Views Date
Thread how to search for keywords, only if field2=active? marinedesign 4476 Sep 14, 2000, 5:08 PM
Thread Re: how to search for keywords, only if field2=active?
AstroBoy 4389 Sep 14, 2000, 5:34 PM
Thread Re: how to search for keywords, only if field2=active?
marinedesign 4350 Sep 14, 2000, 5:47 PM
Thread Re: how to search for keywords, only if field2=active?
AstroBoy 4375 Sep 14, 2000, 6:00 PM
Thread Re: how to search for keywords, only if field2=active?
marinedesign 4376 Sep 14, 2000, 6:15 PM
Thread Re: how to search for keywords, only if field2=active?
AstroBoy 4384 Sep 14, 2000, 6:24 PM
Post Re: how to search for keywords, only if field2=active?
marinedesign 4349 Sep 14, 2000, 6:56 PM
Thread Re: how to search for keywords, only if field2=active?
marinedesign 4366 Sep 14, 2000, 7:23 PM
Thread Re: how to search for keywords, only if field2=active?
AstroBoy 4348 Sep 14, 2000, 7:34 PM
Thread Re: how to search for keywords, only if field2=active?
marinedesign 4347 Sep 14, 2000, 8:27 PM
Post Re: how to search for keywords, only if field2=active?
LoisC 4346 Sep 15, 2000, 11:30 AM