Gossamer Forum
Home : Products : DBMan : Customization :

Combine 2 mods

(Page 3 of 3)
> >
Quote Reply
Re: Combine 2 mods In reply to
JP:

Is this what you were looking for?

Thread reference 85330:

If you want to match the whole field (and not just a whole word), in sub query, replace

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

with

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

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Combine 2 mods In reply to
That's the one! Smile Although I would like to be able to work out a way to have both "whole word" and "whole field."

Thanks, Lois!

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Combine 2 mods In reply to
The finished mod is called showtbl.cgi and can be seen at http://www.fishhoo.com/mods/showtblcgi.txt. If anyone would like to critique the discription and instructions before I put it in the Resource Center, feel free. I will wait until Monday afternoon for your advise and comment.

Will
Webmaster
FishHoo! Search Index for Fishermen
http://www.fishhoo.com/
> >