Gossamer Forum
Quote Reply
Automatic text to url
Hi,

I have a lot descriptions with certain keywords. Does anybody know the technique to automatically change some plain text keywords into certain url's??

ex: the plain word "Spain" would be <a href=<"http://www.mysite.com/spain">Spain</a>.
(This must be site-wide)

Thanks,
Ron.
Quote Reply
Re: [rsahertian] Automatic text to url In reply to
You can look at the search routines for "bolding" keywords.

(I think I even released one a few months back)

If, instead of bolding, you turned it into a hyperlink, you'd be doing the same thing. By not keeping the hyperlinks in the database, you do not violate the rules of normalization, and can change the links by editing one file/table/etc.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.