CompuTwin.com (Visitor) Apr 6, 2001
How would I go about adding a + sign between words submitted to a script? It is a content retrieval script:
Line is:
$url = "http://www.partnerssearch.com/psearch?q=$search";
When someone types in two words in the search box, it only displays 1 on the query string on my partner's site. For example, when I search for "free email", it only pulls the "http://www.partnerssearch.com/psearch?q=free"; part, not "?q=free email".
I want to be able to make it automatically format the string as "two+words+or+more", not "two words or more".
Please help me out here.
Thanks,
Josh
http://www.computwin.com