rawurldecode problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm using the rawurldecode() function to try and polish up some data I get from a parameter

I use the function below and this is what it does. It's as-if it only unencodes the last part. Anybody have ideas on what I'm doing wrong?

$order = rawurldecode($HTTP_GET_VARS["x"]);

3445%252520Causeway%252520Boulevard%252520Limited%252520Partnership%25250ACape%2520May%2520Apartments,%2520LLC%250AElco%20Housing%20Partners,%20LLC%0A

3445%20Causeway%20Boulevard%20Limited%20Partnership%0ACape May Apartments, LLC
Elco Housing Partners, LLC

it SHOULD look like this:

3445 Causeway Boulevard Limited Partnership
Cape May Apartments, LLC
Elco Housing Partners, LLC


If this helps... the original long string was written with \n between each value before it was encoded. Does that have anything to do with it?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux