Gossamer Forum
Home : Products : DBMan : Discussions :

Re: [uline] Trouble with Searching

Quote Reply
Re: [uline] Trouble with Searching In reply to
Taken from the FAQ noted below:

If you want to match the whole field (and not just a whole word), in db.cgi sub query, comment out this line

($in{'ww'}) and ($tmpreg = "\\b$tmpreg\\b");

and replace with:

($in{'ww'}) and ($tmpreg = "^$tmpreg\$"); ## changed to match whole word in field

Hope this works for you.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Subject Author Views Date
Thread Trouble with Searching uline 2413 Oct 25, 2003, 3:24 PM
Post Re: [uline] Trouble with Searching
LoisC 2344 Oct 25, 2003, 11:09 PM