1

I have a payPal url and it has &currency_code=CAD in the url when it is displayed on the site says ¤cy_code=CAD why is it doing this and how do I fix it?

2
  • Just saying: ¤ - ¤ Maybe that's the issue?
    – Whymarrh
    Apr 4, 2012 at 15:35
  • on my site its displaying ¤cy_code=CAD, its replacing the &curren with ¤
    – user979331
    Apr 4, 2012 at 15:39

2 Answers 2

3

Just a thought, ¤ is the HTML code for ¤. If you are displaying the URL than contains that code on the webpage itself, then it will show up as ¤. You can use &curren to properly display the url.

0
0

Sounds like you need to encode the url before you display it:

url_encode($url)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.