Problem with urlencode

3 posts by 2 authors in: Forums > CMS Builder
Last Post: August 14, 2008   (RSS)

Re: [johnniefp] Problem with urlencode

Problem solved.

The %0A is an encoded newline character:
removed on unix with: (from memory you probably need \n\r on windows and \r on mac)
$cat = str_replace("\n","",$cat);

I ended up just using & instead of & which solved the next problem.

Also where the urlencode on the search docs page shows %20 (spaces) I have found that + (output from php urlencode() function) also works with the search.

Re: [johnniefp] Problem with urlencode

By Donna - August 14, 2008

Hey, glad to hear you've got that sorted out. Let us know if you run into any problems!
Donna

--
support@interactivetools.com