stripping %20 and other characters from query string

From: Date: Thu, 06 Feb 2003 21:39:15 +0000
Subject: stripping %20 and other characters from query string
Groups: php.general 
Request: Send a blank email to php-general+get-134680@lists.php.net to get a copy of this message
Hello, Forgive me if this is an obvious question, but I am passing a value (a string with spaces and quotations) back in a query string and do not know how to strip the extra characters that have been placed into it. For example. $value = "Sarah's Test Page" query string = mypage.php?value=Sarah\\\'s%20Test%20Page echo $value = Sarah\\\'s%20Test%20Page What is the command to strip out these extra space and escape characters so that when I echo $value it prints out "Sarah's Test Page"? Much Appreciated, s.

« previous php.general (#134680) next »