rawurldecode problems

From: Date: Fri, 27 May 2005 20:26:36 +0000
Subject: rawurldecode problems
Groups: php.general 
Request: Send a blank email to php-general+get-215911@lists.php.net to get a copy of this message
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?

« previous php.general (#215911) next »