I've got a hard coded link in a results template that uses $(WORDS) to do
other kinds of searches in other databases.

This is a sample hard coded link in a default long template:

"../othersearch/search.tpl?q=$(WORDS)"

The above example works fine if the search term is a single word. If the
search query is a string of words, where (words) are "shoe boat hat"
htseach accurately replaces the spaces w/ plus signs in the URL but in my
example above I only get spaces when the variable is expanded w/in the
header of the results template.

So the results page source looks like:

"../othersearch/search.tpl?q=shoe boat hat"

How do I convert the spaces to plus signs in this example?

Charlie

______________________________________________________________________
Charlie Romero
Director of Corporate Development
(703) 917-4148
mailto:[EMAIL PROTECTED]
______________________________________________________________________
                       J U M P   I N T E R N E T

INFORMATION MANAGEMENT SYSTEMS            INTERNET/INTRANET SOLUTIONS

                      http://www.jumpinternet.com
______________________________________________________________________


------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to